diff options
author | 2024-08-30 10:02:24 +0000 | |
---|---|---|
committer | 2024-08-30 10:00:16 -1000 | |
commit | 23ca5237e3d10c899de7a8311d13e38ed7d2f2d5 (patch) | |
tree | dcf84fb20d62a1e5ff41d99e0a974faddd219062 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup/cpuset: add callback_lock helper (diff) | |
download | wireguard-linux-23ca5237e3d10c899de7a8311d13e38ed7d2f2d5.tar.xz wireguard-linux-23ca5237e3d10c899de7a8311d13e38ed7d2f2d5.zip |
cgroup/cpuset: move legacy hotplug update to cpuset-v1.c
There are some differents about hotplug update between cpuset v1 and
cpuset v2. Move the legacy code to cpuset-v1.c.
'update_tasks_cpumask' and 'update_tasks_nodemask' are both used in cpuset
v1 and cpuset v2, declare them in cpuset-internal.h.
The change from original code is that use callback_lock helpers to get
callback_lock lock/unlock.
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions