summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorChen Ridong <chenridong@huawei.com>2025-09-17 06:04:44 +0000
committerTejun Heo <tj@kernel.org>2025-09-17 08:35:17 -1000
commitb783a6265589783e297f8dc4647a31d870d8396e (patch)
treefb4d1689e7fe3fed31877d6dcd0df4d986984d54 /rust/helpers/task.c
parent58ab6d25a1bfca42510979cb2b6921f1c807bd02 (diff)
cpuset: move the root cpuset write check earlier
The 'cpus' or 'mems' lists of the top_cpuset cannot be modified. This check can be moved before acquiring any locks as a common code block to improve efficiency and maintainability. 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 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions