aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorChengming Zhou <[email protected]>2022-08-25 16:41:08 +0000
committerPeter Zijlstra <[email protected]>2022-09-09 09:08:32 +0000
commit52b1364ba0b105122d6de0e719b36db705011ac1 (patch)
treea6601f432fbe2c006addc068eab9b98febf0449c /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentsched/psi: Remove NR_ONCPU task accounting (diff)
downloadkernel-52b1364ba0b105122d6de0e719b36db705011ac1.tar.gz
kernel-52b1364ba0b105122d6de0e719b36db705011ac1.zip
sched/psi: Add PSI_IRQ to track IRQ/SOFTIRQ pressure
Now PSI already tracked workload pressure stall information for CPU, memory and IO. Apart from these, IRQ/SOFTIRQ could have obvious impact on some workload productivity, such as web service workload. When CONFIG_IRQ_TIME_ACCOUNTING, we can get IRQ/SOFTIRQ delta time from update_rq_clock_task(), in which we can record that delta to CPU curr task's cgroups as PSI_IRQ_FULL status. Note we don't use PSI_IRQ_SOME since IRQ/SOFTIRQ always happen in the current task on the CPU, make nothing productive could run even if it were runnable, so we only use PSI_IRQ_FULL. 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