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>
This commit is contained in:
Chen Ridong 2025-12-18 09:31:36 +00:00 • committed by Tejun Heo
commit 14c11e1b2a
2 changed files with 7 additions and 0 deletions