aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2022-03-11 16:03:42 +0100
committerDavid S. Miller <[email protected]>2022-03-14 10:09:28 +0000
commitfbd9a2ceba5c74bbfa19cf257ae4b4b2c820860d (patch)
treed0d852fb3a532af0b709b993879ecfe758bd0d71 /tools/perf/scripts/python/export-to-sqlite.py
parentd96657dc9238f8e9bda47b377e17e7c6f90935af (diff)
net: Add lockdep asserts to ____napi_schedule().
____napi_schedule() needs to be invoked with disabled interrupts due to __raise_softirq_irqoff (in order not to corrupt the per-CPU list). ____napi_schedule() needs also to be invoked from an interrupt context so that the raised-softirq is processed while the interrupt context is left. Add lockdep asserts for both conditions. While this is the second time the irq/softirq check is needed, provide a generic lockdep_assert_softirq_will_run() which is used by both caller. Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions