diff options
| author | Breno Leitao <leitao@debian.org> | 2026-08-05 07:52:32 -0700 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-08-10 11:47:19 -1000 |
| commit | dd55381120e2032f60806e2595ee70142fe22533 (patch) | |
| tree | e32be7338cb13158808935ffbad839308e7faaa7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b72fdc651056cf66714e841bd6cc59907ab1858c (diff) | |
workqueue: test WQ_UNBOUND explicitly in the hotplug loops
workqueue_online_cpu() and workqueue_offline_cpu() decide whether a
workqueue needs a pod affinity update by testing wq->unbound_attrs for
NULL, which is only meaningful because the attrs are allocated for
unbound workqueues alone.
Test the flag instead, so the attrs can later be allocated for every
workqueue.
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
