diff options
author | Chengming Zhou <[email protected]> | 2022-08-26 00:41:04 +0800 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-09-09 11:08:31 +0200 |
commit | e2ad8ab04c5cdfc8dc2f382c45d248ab01dee991 (patch) | |
tree | 8584c4f3c3179254f60e1b9e12e05ac3af8ec9d3 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 58d8c2586cedb8a67f6f0dffa5eaed0f89135b39 (diff) |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions