diff options
author | Chen Ridong <chenridong@huawei.com> | 2024-08-30 10:02:24 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-08-30 10:00:16 -1000 |
commit | 23ca5237e3d10c899de7a8311d13e38ed7d2f2d5 (patch) | |
tree | dcf84fb20d62a1e5ff41d99e0a974faddd219062 /kernel/kallsyms_internal.h | |
parent | 530020f28f55238cfcc9d9af4e90bc06327f6542 (diff) |
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 'kernel/kallsyms_internal.h')
0 files changed, 0 insertions, 0 deletions