]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cgroup/cpuset: add decrease attach_in_progress helpers
authorChen Ridong <chenridong@huawei.com>
Fri, 26 Jul 2024 01:05:02 +0000 (01:05 +0000)
committerTejun Heo <tj@kernel.org>
Tue, 30 Jul 2024 22:38:14 +0000 (12:38 -1000)
commit4a711dd910d0135b3d262f85612f7e17e0feb989
treee649463a9837b3ee62bdc3d78df93326e10cd68b
parentc149c4a48b19afbf0c383614e57b452d39b154de
cgroup/cpuset: add decrease attach_in_progress helpers

There are several functions to decrease attach_in_progress, and they
will wake up cpuset_attach_wq when attach_in_progress is zero. So,
add a helper to make it concise.

Signed-off-by: Chen Ridong <chenridong@huawei.com>
Reviewed-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset.c