diff options
| author | Chengming Zhou <[email protected]> | 2022-08-25 16:41:09 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-09-09 09:08:33 +0000 |
| commit | 57899a6610e67ba26fa3251ebbef4a5ed21efc5d (patch) | |
| tree | cd4fe1689b8e0f4001966dba898bd9e809a86152 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | sched/psi: Add PSI_IRQ to track IRQ/SOFTIRQ pressure (diff) | |
| download | kernel-57899a6610e67ba26fa3251ebbef4a5ed21efc5d.tar.gz kernel-57899a6610e67ba26fa3251ebbef4a5ed21efc5d.zip | |
sched/psi: Consolidate cgroup_psi()
cgroup_psi() can't return psi_group for root cgroup, so we have many
open code "psi = cgroup_ino(cgrp) == 1 ? &psi_system : cgrp->psi".
This patch move cgroup_psi() definition to <linux/psi.h>, in which
we can return psi_system for root cgroup, so can handle all cgroups.
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
