summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-09-30 16:39:46 +0200
committerPeter Zijlstra <peterz@infradead.org>2022-09-30 16:50:39 +0200
commitfdf756f7127185eeffe00e918e66dfee797f3625 (patch)
tree41a08e9ee93e7a69233878066f2f7cb5595bce35 /include
parent5aec788aeb8eb74282b75ac1b317beb0fbb69a42 (diff)
downloadlinux-stable-fdf756f7127185eeffe00e918e66dfee797f3625.tar.gz
linux-stable-fdf756f7127185eeffe00e918e66dfee797f3625.tar.bz2
linux-stable-fdf756f7127185eeffe00e918e66dfee797f3625.zip
sched: Fix more TASK_state comparisons
Boris reported hung_task splats after commit 5aec788aeb8e ("sched: Fix TASK_state comparisons"). Upon closer consideration of that change it doesn't only exclude TASK_KILLABLE, but also TASK_IDLE. Update the comment to reflect this fact and add an additional TASK_NOLOAD test to exclude them. Additionally, remove the TASK_FREEZABLE early exit from check_hung_task(), a freezable task is not a frozen task. Fixes: 5aec788aeb8e ("sched: Fix TASK_state comparisons") Reported-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Borislav Petkov <bp@alien8.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions