aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2023-08-29 23:04:19 +0000
committerIngo Molnar <[email protected]>2023-08-30 08:08:38 +0000
commit0d6b35283bcf1a379cf20066544af8e6a6b16b46 (patch)
tree0c47ab5fba63a336dcf3300d7f65448ab9acafb1 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentsched/fair: Make update_entity_lag() static (diff)
downloadkernel-0d6b35283bcf1a379cf20066544af8e6a6b16b46.tar.gz
kernel-0d6b35283bcf1a379cf20066544af8e6a6b16b46.zip
sched/core: Report correct state for TASK_IDLE | TASK_FREEZABLE
task_state_index() ignores uninteresting state flags (such as TASK_FREEZABLE) for most states, but for TASK_IDLE and TASK_RTLOCK_WAIT it does not. So if a task is waiting TASK_IDLE|TASK_FREEZABLE it gets incorrectly reported as TASK_UNINTERRUPTIBLE or "D". (it is planned for nfsd to change to use this state). Fix this by only testing the interesting bits and not the irrelevant bits in __task_state_index() Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions