summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-06-26 02:57:53 -0700
committerTejun Heo <tj@kernel.org>2026-06-29 08:07:10 -1000
commit1ad5dcee7c819031cf02eaf5e1e03728d0ffeb09 (patch)
treeda2924804f9fe054beb38a17f4ee85e5c44a5363 /tools/perf/scripts/python
parent4d9be388910e5fbdb3f2794ed20737515ca6b96d (diff)
workqueue: split kick_pool() into kick_pool_pick()
Factor the worker selection out of kick_pool() into kick_pool_pick(), which picks and claims the worker under pool->lock but, instead of waking it, returns the worker's task via an out-param so the caller can issue the wakeup after dropping pool->lock. BH kicks and wake_cpu setup still happen under the lock. kick_pool() becomes a thin wrapper that wakes the returned task, so all existing callers keep waking under pool->lock. Pure refactor, 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