Home
last modified time | relevance | path

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

/kernel/
Dworkqueue.c159 int nr_idle; /* L: currently idle workers */ member
789 return pool->nr_idle; in may_start_working()
809 int nr_idle = pool->nr_idle + managing; /* manager is considered idle */ in too_many_workers() local
810 int nr_busy = pool->nr_workers - nr_idle; in too_many_workers()
812 return nr_idle > 2 && (nr_idle - 2) * MAX_IDLE_WORKERS_RATIO >= nr_busy; in too_many_workers()
1777 pool->nr_idle++; in worker_enter_idle()
1793 pool->nr_workers == pool->nr_idle && in worker_enter_idle()
1813 pool->nr_idle--; in worker_leave_idle()
1980 pool->nr_idle--; in destroy_worker()
3552 WARN_ON(pool->nr_workers || pool->nr_idle); in put_unbound_pool()
[all …]