diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-01-12 11:26:49 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-01-22 15:09:42 +0100 |
commit | 5c25b5ff89f004c30b04759dc34ace8585a4085f (patch) | |
tree | a2132a7d24a2e50ef4d3703f3c00dbb55ce7a44e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ac687e6e8c26181a33270efd1a2e2241377924b0 (diff) |
workqueue: Tag bound workers with KTHREAD_IS_PER_CPU
Mark the per-cpu workqueue workers as KTHREAD_IS_PER_CPU.
Workqueues have unfortunate semantics in that per-cpu workers are not
default flushed and parked during hotplug, however a subset does
manual flush on hotplug and hard relies on them for correctness.
Therefore play silly games..
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Tested-by: Valentin Schneider <valentin.schneider@arm.com>
Link: https://lkml.kernel.org/r/20210121103506.693465814@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions