psi: fix unexpected behavior of psi in cgroup v1 during init
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I4OF4N ------------------------------------------ Function setup_psi_v1 is called before cgroup_v1_psi_init. Cgroup psi will be enable for a short time between the two functions, when passing parameter psi_v1=0 in kernel boot cmdline, that'is not unexpected behavior. So the setting of psi_v1_disabled should be run in advance. Fixes: f9a7d23a ("psi: introduce psi_v1 boot parameter") Reported-by:Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Chen Wandun <chenwandun@huawei.com> Reviewed-by:
Kefeng Wang <wangkefeng.wang@huawei.com> Reviewed-by:
Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment