aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2020-11-02 00:22:57 +0100
committerJakub Kicinski <[email protected]>2020-11-03 17:41:38 -0800
commitde3f5d9e271f7d19c9bdb3ba443fa6a435075f1a (patch)
tree5e08842c10b20e763c4e794d4359e5aabdb920c2 /tools/perf/util/scripting-engines/trace-event-python.c
parentabba4b16fddda9a1012140dab4a9965045a77179 (diff)
crypto: caam: Replace in_irq() usage.
The driver uses in_irq() + in_serving_softirq() magic to decide if NAPI scheduling is required or packet processing. The usage of in_*() in drivers is phased out and Linus clearly requested that code which changes behaviour depending on context should either be separated or the context be conveyed in an argument passed by the caller, which usually knows the context. Use the `sched_napi' argument passed by the callback. It is set true if called from the interrupt handler and NAPI should be scheduled. Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Cc: Aymen Sghaier <[email protected]> Cc: Herbert Xu <[email protected]> Cc: Li Yang <[email protected]> Reviewed-by: Horia Geantă <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Madalin Bucur <[email protected]> Tested-by: Camelia Groza <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions