]> git.itanic.dy.fi Git - linux-stable/commit
cgroup/cpuset: Statically initialize more members of top_cpuset
authorXiu Jianfeng <xiujianfeng@huawei.com>
Sat, 20 Apr 2024 09:46:16 +0000 (09:46 +0000)
committerTejun Heo <tj@kernel.org>
Mon, 22 Apr 2024 19:51:33 +0000 (09:51 -1000)
commit8996f93fc3880d000a0a0cb40c724d5830e140fd
tree7751188d07019900746da6ec091949124f7a74f7
parent19fc8a896565ecebb3951664fd0eeab0a80314a1
cgroup/cpuset: Statically initialize more members of top_cpuset

Initializing top_cpuset.relax_domain_level and setting
CS_SCHED_LOAD_BALANCE to top_cpuset.flags in cpuset_init() could be
completed at the time of top_cpuset definition by compiler.

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