summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLai Jiangshan <jiangshan.ljs@antgroup.com>2024-07-04 06:49:13 +0300
committerTejun Heo <tj@kernel.org>2024-07-05 22:14:40 +0300
commit1726a17135905e2d2773f18d47bd4e17dd26e1ed (patch)
treeab35baf8e93afe1b7a1f66815476a0ea382b6f5d /tools/perf/scripts/python
parent4e9a37389ec2d062e02f6647d1d60c3d11150896 (diff)
downloadlinux-1726a17135905e2d2773f18d47bd4e17dd26e1ed.tar.xz
workqueue: Put PWQ allocation and WQ enlistment in the same lock C.S.
The PWQ allocation and WQ enlistment are not within the same lock-held critical section; therefore, their states can become out of sync when the user modifies the unbound mask or if CPU hotplug events occur in the interim since those operations only update the WQs that are already in the list. Make the PWQ allocation and WQ enlistment atomic. Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions