Lines Matching defs: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.
105 NR_STD_WORKER_POOLS = 2, /* # standard pools per cpu */
224 int refcnt; /* PL: refcnt for unbound pools */
433 static DEFINE_MUTEX(wq_pool_mutex); /* protects pools and workqueues list */
469 /* to raise softirq for the BH worker pools on other CPUs */
473 /* the BH worker pools */
477 /* the per-cpu worker pools */
481 static DEFINE_IDR(worker_pool_idr); /* PR: idr of all pools */
483 /* PL: hash of all unbound pools keyed by pool->attrs */
486 /* I: attributes used when instantiating standard unbound pools on demand */
489 /* I: attributes used when instantiating ordered pools on demand */
929 * pools are managed. Unless noted otherwise, these functions assume that
938 * function will always return %true for unbound pools as long as the
1668 * As both pwqs and pools are RCU protected, the
1990 * multiple pwqs and pools may be sharing the nr_active count. When a
2377 * pwq is determined and locked. For unbound pools, we could have raced
3220 * Kick @pool if necessary. It's always noop for per-cpu worker pools
4771 * and this function should be able to release pools which went through,
5354 struct worker_pool __percpu *pools;
5358 pools = bh_worker_pools;
5360 pools = cpu_worker_pools;
5362 pool = &(per_cpu_ptr(pools, cpu)[highpri]);
6228 * Called from a sysrq handler and prints out all busy workqueues and pools.
6238 pr_info("Showing busy workqueues and worker pools:\n");
6320 * worker pools serve mix of short, long and very long running works making
6323 * This is solved by allowing the pools to be disassociated from the CPU
6482 /* BH pools aren't affected by hotplug */
7321 * Workqueue watchdog monitors all worker pools periodically and dumps
7322 * state if some pools failed to make forward progress for a while where
7375 pr_info("Showing backtraces of running workers in stalled CPU-bound worker pools:\n");
7616 /* initialize BH and CPU pools */
7718 * executing the work items yet. Populate the worker pools with the initial
7732 * Per-cpu pools created earlier could be missing node hint. Fix them