Skip to content
Commit e8784765 authored by Xiu Jianfeng's avatar Xiu Jianfeng Committed by Tejun Heo
Browse files

cgroup/cpuset: Avoid clearing CS_SCHED_LOAD_BALANCE twice



In cpuset_css_online(), CS_SCHED_LOAD_BALANCE will be cleared twice,
the former one in the is_in_v2_mode() case could be removed because
is_in_v2_mode() can be true for cgroup v1 if the "cpuset_v2_mode"
mount option is specified, that balance flag change isn't appropriate
for this particular case.

Signed-off-by: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 8996f93f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment