aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorManfred Spraul <[email protected]>2022-12-16 15:04:41 +0000
committerThomas Gleixner <[email protected]>2023-01-11 18:35:13 +0000
commit17549b0f184d870f2cfa4e5cfa79f4c4905ed757 (patch)
tree81b5a207e9e032d85655a62abda075152604008c /tools/perf/scripts/python/stackcollapse.py
parentLinux 6.2-rc3 (diff)
downloadkernel-17549b0f184d870f2cfa4e5cfa79f4c4905ed757.tar.gz
kernel-17549b0f184d870f2cfa4e5cfa79f4c4905ed757.zip
genirq: Add might_sleep() to disable_irq()
With the introduction of threaded interrupt handlers, it is virtually never safe to call disable_irq() from non-premptible context. Thus: Update the documentation, add an explicit might_sleep() to catch any offenders. This is more obvious and straight forward than the implicit might_sleep() check deeper down in the disable_irq() call chain. Fixes: 3aa551c9b4c4 ("genirq: add threaded interrupt handler support") Signed-off-by: Manfred Spraul <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions