]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpuset: add lockdep_assert_cpuset_lock_held helper
authorChen Ridong <chenridong@huawei.com>
Thu, 18 Dec 2025 09:31:36 +0000 (09:31 +0000)
committerTejun Heo <tj@kernel.org>
Thu, 18 Dec 2025 18:35:57 +0000 (08:35 -1000)
commit14c11e1b2ac47fbc51503c7d0f35fad9ea5ea46e
tree1259a7bb20a1f63344c63c6452a6dedb144f06cb
parent6ee43047e8ada63c4dfee01e2ea7e7eadfcda2ab
cpuset: add lockdep_assert_cpuset_lock_held helper

Add lockdep_assert_cpuset_lock_held() to allow other subsystems to verify
that cpuset_mutex is held.

Suggested-by: Waiman Long <longman@redhat.com>
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/cpuset.h
kernel/cgroup/cpuset.c