diff options
author | Chengming Zhou <zhouchengming@bytedance.com> | 2022-08-25 18:41:04 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-09-09 11:08:31 +0200 |
commit | e2ad8ab04c5cdfc8dc2f382c45d248ab01dee991 (patch) | |
tree | 8584c4f3c3179254f60e1b9e12e05ac3af8ec9d3 /include | |
parent | sched/psi: Don't create cgroup PSI files when psi_disabled (diff) | |
download | linux-e2ad8ab04c5cdfc8dc2f382c45d248ab01dee991.tar.xz linux-e2ad8ab04c5cdfc8dc2f382c45d248ab01dee991.zip |
sched/psi: Save percpu memory when !psi_cgroups_enabled
We won't use cgroup psi_group when !psi_cgroups_enabled, so don't
bother to alloc percpu memory and init for it.
Also don't need to migrate task PSI stats between cgroups in
cgroup_move_task().
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-4-zhouchengming@bytedance.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions