Commit 2dfc29e7 authored by Lu Jialin's avatar Lu Jialin Committed by yanhaitao
Browse files

sched/psi: Export cgroup psi from cgroupv2 to cgroupv1

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8QUNW

----------------------------------------------

Export cgroup psi(cpu/memory/io/irq) from cgroup v2 to cgroupv1.
We attach cgroupv1 psi with cpuacct subsystem, referring to
(0c58735850e5: "ck: psi: Support PSI under cgroup v1")[1].

To make cgroupv1 psi more meaningful and accurate, processes should
have the same management in cpu/io/memory/cpuacct subsystem, which
is similar with the process management in cgroup v2.

[1] https://github.com/alibaba/cloud-kernel/commit/0c58735850e5ae4d98680a815eec8ef0ff0d5bae



Signed-off-by: default avatarLu Jialin <lujialin4@huawei.com>
parent c4069ab3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment