diff options
author | Peter Zijlstra <peterz@infradead.org> | 2019-07-18 11:20:09 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-07-20 11:27:16 +0200 |
commit | 19dbdcb8039cff16669a05136a29180778d16d0a (patch) | |
tree | a03d0d84fb3a5ff58df3c4da7bbd16acca5518a0 /tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py | |
parent | 22051d9c4a57d3b4a8b5a7407efc80c71c7bfb16 (diff) |
smp: Warn on function calls from softirq context
It's clearly documented that smp function calls cannot be invoked from
softirq handling context. Unfortunately nothing enforces that or emits a
warning.
A single function call can be invoked from softirq context only via
smp_call_function_single_async().
The only legit context is task context, so add a warning to that effect.
Reported-by: luferry <luferry@163.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190718160601.GP3402@hirez.programming.kicks-ass.net
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py')
0 files changed, 0 insertions, 0 deletions