Lines Matching defs:pool
24 Lists all worker pools indexed by their ID. For each pool:
26 ref number of pool_workqueue's associated with this pool
27 nice nice value of the worker threads in the pool
30 cpu CPU the pool is associated with (per-cpu pool)
31 cpus CPUs the workers in the pool can run on (unbound pool)
33 Workqueue CPU -> pool
36 Lists all workqueues along with their type and worker pool association. For
44 POOL_ID worker pool ID associated with each possible CPU
129 for pi, pool in idr_for_each(worker_pool_idr):
130 pool = drgn.Object(prog, 'struct worker_pool', address=pool)
132 max_ref_len = max(max_ref_len, len(f'{pool.refcnt.value_()}'))
134 for pi, pool in idr_for_each(worker_pool_idr):
135 pool = drgn.Object(prog, 'struct worker_pool', address=pool)
136 print(f'pool[{pi:0{max_pool_id_len}}] ref={pool.refcnt.value_():{max_ref_len}} nice={pool.attrs.nice.value_():3} ', end='')
137 print(f'idle/workers={pool.nr_idle.value_():3}/{pool.nr_workers.value_():3} ', end='')
138 if pool.cpu >= 0:
139 print(f'cpu={pool.cpu.value_():3}', end='')
141 print(f'cpus={cpumask_str(pool.attrs.cpumask)}', end='')
142 print(f' pod_cpus={cpumask_str(pool.attrs.__pod_cpumask)}', end='')
143 if pool.attrs.affn_strict:
148 print('Workqueue CPU -> pool')
171 pool_id = per_cpu_ptr(wq.cpu_pwq, cpu)[0].pool.id.value_()
176 print(f' {wq.dfl_pwq.pool.id.value_():{max_pool_id_len}}', end='')