summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-08-05 07:52:30 -0700
committerTejun Heo <tj@kernel.org>2026-08-10 11:47:19 -1000
commit3180ee71b676845603274c66f6bb5528939cf470 (patch)
treea1aaee3351d9d677fb7511e970f8c54510caf84a /tools/perf/scripts/python
parenta6a80c1cc6883e44876dad85dfec79b414eec0b5 (diff)
workqueue: release pwq pools by pool type
Add is_percpu_pool() and test the pool directly for per cpu. Convert the other open-coded pool->cpu checks -- in put_unbound_pool(), pool_allowed_cpus() and the workqueue watchdog -- to the same helper. No functional change. Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions