Lines Matching refs:pools

20  * automatically managed.  There are two worker pools for each CPU (one for
22 * pools for workqueues which are not bound to any specific CPU - the
23 * number of these backing pools is dynamic.
106 NR_STD_WORKER_POOLS = 2, /* # standard pools per cpu */
225 int refcnt; /* PL: refcnt for unbound pools */
440 static DEFINE_MUTEX(wq_pool_mutex); /* protects pools and workqueues list */
476 /* to raise softirq for the BH worker pools on other CPUs */
480 /* the BH worker pools */
484 /* the per-cpu worker pools */
488 static DEFINE_IDR(worker_pool_idr); /* PR: idr of all pools */
490 /* PL: hash of all unbound pools keyed by pool->attrs */
493 /* I: attributes used when instantiating standard unbound pools on demand */
496 /* I: attributes used when instantiating ordered pools on demand */
920 * pools are managed. Unless noted otherwise, these functions assume that
929 * function will always return %true for unbound pools as long as the
1659 * As both pwqs and pools are RCU protected, the
1981 * multiple pwqs and pools may be sharing the nr_active count. When a
2323 * pwq is determined and locked. For unbound pools, we could have raced
3184 * Kick @pool if necessary. It's always noop for per-cpu worker pools
4883 * and this function should be able to release pools which went through,
5466 struct worker_pool __percpu *pools;
5470 pools = bh_worker_pools;
5472 pools = cpu_worker_pools;
5474 pool = &(per_cpu_ptr(pools, cpu)[highpri]);
6340 * Called from a sysrq handler and prints out all busy workqueues and pools.
6350 pr_info("Showing busy workqueues and worker pools:\n");
6432 * worker pools serve mix of short, long and very long running works making
6435 * This is solved by allowing the pools to be disassociated from the CPU
6594 /* BH pools aren't affected by hotplug */
7418 * Workqueue watchdog monitors all worker pools periodically and dumps
7419 * state if some pools failed to make forward progress for a while where
7472 pr_info("Showing backtraces of running workers in stalled CPU-bound worker pools:\n");
7713 /* initialize BH and CPU pools */
7815 * executing the work items yet. Populate the worker pools with the initial
7829 * Per-cpu pools created earlier could be missing node hint. Fix them