diff options
| author | Johannes Weiner <[email protected]> | 2022-08-25 16:41:07 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-09-09 09:08:32 +0000 |
| commit | 71dbdde7914d32e86f01ac1f6e54e964c9dfdbd9 (patch) | |
| tree | 3614bdf8c54b95e134334bc3da8c6b1e83e32e6e /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | sched/psi: Optimize task switch inside shared cgroups again (diff) | |
| download | kernel-71dbdde7914d32e86f01ac1f6e54e964c9dfdbd9.tar.gz kernel-71dbdde7914d32e86f01ac1f6e54e964c9dfdbd9.zip | |
sched/psi: Remove NR_ONCPU task accounting
We put all fields updated by the scheduler in the first cacheline of
struct psi_group_cpu for performance.
Since we want add another PSI_IRQ_FULL to track IRQ/SOFTIRQ pressure,
we need to reclaim space first. This patch remove NR_ONCPU task accounting
in struct psi_group_cpu, use one bit in state_mask to track instead.
Signed-off-by: Johannes Weiner <[email protected]>
Signed-off-by: Chengming Zhou <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Chengming Zhou <[email protected]>
Tested-by: Chengming Zhou <[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
