diff options
author | Thomas Gleixner <[email protected]> | 2021-03-09 09:55:57 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2021-03-17 16:34:11 +0100 |
commit | 47c218dcae6587fb5bce30f1656b13e22391c8e3 (patch) | |
tree | 0577017548da523ecaf141594aefd66291d036e7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8b1c04acad082dec76f3f8f7e1fa13493d6cbb79 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions