diff options
| author | Chengming Zhou <[email protected]> | 2022-08-25 16:41:04 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-09-09 09:08:31 +0000 |
| commit | e2ad8ab04c5cdfc8dc2f382c45d248ab01dee991 (patch) | |
| tree | 8584c4f3c3179254f60e1b9e12e05ac3af8ec9d3 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | sched/psi: Don't create cgroup PSI files when psi_disabled (diff) | |
| download | kernel-e2ad8ab04c5cdfc8dc2f382c45d248ab01dee991.tar.gz kernel-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 <[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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
