summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-08-05 07:52:31 -0700
committerTejun Heo <tj@kernel.org>2026-08-10 11:47:19 -1000
commitb72fdc651056cf66714e841bd6cc59907ab1858c (patch)
treeec001522e897e201810d22f3b7b7ac3529be4ce8 /tools/perf/scripts/python
parent3180ee71b676845603274c66f6bb5528939cf470 (diff)
workqueue: account nr_active by the backing pool
pwq_tryinc_nr_active() and pwq_dec_nr_active() choose between the shared per-node nr_active and the plain per-pwq one by testing wq_node_nr_active() for NULL. Test the backing pool with is_percpu_pool() instead, so the accounting follows the pool that runs the work rather than the workqueue type. 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