aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-03-09 08:55:57 +0000
committerThomas Gleixner <[email protected]>2021-03-17 15:34:11 +0000
commit47c218dcae6587fb5bce30f1656b13e22391c8e3 (patch)
tree0577017548da523ecaf141594aefd66291d036e7 /lib/dynamic_debug.c
parentsoftirq: Make softirq control and processing RT aware (diff)
downloadkernel-47c218dcae6587fb5bce30f1656b13e22391c8e3.tar.gz
kernel-47c218dcae6587fb5bce30f1656b13e22391c8e3.zip
tick/sched: Prevent false positive softirq pending warnings on RT
On RT a task which has soft interrupts disabled can block on a lock and schedule out to idle while soft interrupts are pending. This triggers the warning in the NOHZ idle code which complains about going idle with pending soft interrupts. But as the task is blocked soft interrupt processing is temporarily blocked as well which means that such a warning is a false positive. To prevent that check the per CPU state which indicates that a scheduled out task has soft interrupts disabled. Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Sebastian Andrzej Siewior <[email protected]> Tested-by: Paul E. McKenney <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions