summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChen Ridong <chenridong@huawei.com>2025-08-25 03:23:50 +0000
committerTejun Heo <tj@kernel.org>2025-08-25 08:19:24 -1000
commit5806b3d05165568eee665399d3c04349c151a0b9 (patch)
treeeed0432dc23183ce9fc9032af52f0705d56b211a /include/linux/i2c/git@git.tavy.me:linux.git
parent8d2a75589599fd8cd5c542c8052642445652ca5e (diff)
cpuset: decouple tmpmasks and cpumasks freeing in cgroup
Currently, free_cpumasks() can free both tmpmasks and cpumasks of a cpuset (cs). However, these two operations are not logically coupled. To improve code clarity: 1. Move cpumask freeing to free_cpuset() 2. Rename free_cpumasks() to free_tmpmasks() This change enforces the single responsibility principle. 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/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions