diff options
author | Chengming Zhou <zhouchengming@bytedance.com> | 2022-08-26 00:41:03 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-09-09 11:08:31 +0200 |
commit | 58d8c2586cedb8a67f6f0dffa5eaed0f89135b39 (patch) | |
tree | cf0117e07e405e560f6a489692ffc5daba0f47aa /kernel/sched | |
parent | c530a3c716b963625e43aa915e0de6b4d1ce8ad9 (diff) |
sched/psi: Don't create cgroup PSI files when psi_disabled
commit 3958e2d0c34e ("cgroup: make per-cgroup pressure stall tracking configurable")
make PSI can be configured to skip per-cgroup stall accounting. And
doesn't expose PSI files in cgroup hierarchy.
This patch do the same thing when psi_disabled.
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Link: https://lore.kernel.org/r/20220825164111.29534-3-zhouchengming@bytedance.com
Diffstat (limited to 'kernel/sched')
0 files changed, 0 insertions, 0 deletions