aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChen Ridong <chenridong@huawei.com>2025-08-25 03:23:52 +0000
committerTejun Heo <tj@kernel.org>2025-08-25 08:20:22 -1000
commit2c98144fc832b35c4e9293a3bfc518608d6f5145 (patch)
treed02542f35c04d301578f62b1efe4771bc0426a57 /include
parentcpuset: separate tmpmasks and cpuset allocation logic (diff)
downloadlinux-2c98144fc832b35c4e9293a3bfc518608d6f5145.tar.gz
linux-2c98144fc832b35c4e9293a3bfc518608d6f5145.zip
cpuset: add helpers for cpus read and cpuset_mutex locks
cpuset: add helpers for cpus_read_lock and cpuset_mutex locks. Replace repetitive locking patterns with new helpers: - cpuset_full_lock() - cpuset_full_unlock() This makes the code cleaner and ensures consistent lock ordering. Signed-off-by: Chen Ridong <chenridong@huawei.com> Reviewed-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions