Home
last modified time | relevance | path

Searched refs:nr_idle (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/kernel/
Dworkqueue.c168 int nr_idle; /* L: currently idle workers */ member
804 return pool->nr_idle; in may_start_working()
823 int nr_idle = pool->nr_idle + managing; /* manager is considered idle */ in too_many_workers() local
824 int nr_busy = pool->nr_workers - nr_idle; in too_many_workers()
826 return nr_idle > 2 && (nr_idle - 2) * MAX_IDLE_WORKERS_RATIO >= nr_busy; in too_many_workers()
1803 pool->nr_idle++; in worker_enter_idle()
1813 WARN_ON_ONCE(pool->nr_workers == pool->nr_idle && pool->nr_running); in worker_enter_idle()
1832 pool->nr_idle--; in worker_leave_idle()
1998 pool->nr_idle--; in destroy_worker()
3599 WARN_ON(pool->nr_workers || pool->nr_idle); in put_unbound_pool()
[all …]