cgroup/cpuset: Code cleanup and comment update
authorWaiman Long <longman@redhat.com>
Sun, 30 Mar 2025 21:52:44 +0000 (17:52 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 31 Mar 2025 23:27:19 +0000 (13:27 -1000)
commitf0a0bd3d23a44a2c5f628e8ca8ad882498ca5aae
tree808bd5fff0f733f645a40b3266804675a6716913
parent6da580ec656a5ed135db2cdf574b47635611a4d7
cgroup/cpuset: Code cleanup and comment update

Rename partition_xcpus_newstate() to isolated_cpus_update(),
update_partition_exclusive() to update_partition_exclusive_flag() and
the new_xcpus_state variable to isolcpus_updated to make their meanings
more explicit. Also add some comments to further clarify the code.
No functional change is expected.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset.c