summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2019-07-18 11:20:09 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-07-20 11:27:16 +0200
commit19dbdcb8039cff16669a05136a29180778d16d0a (patch)
treea03d0d84fb3a5ff58df3c4da7bbd16acca5518a0 /init
parent22051d9c4a57d3b4a8b5a7407efc80c71c7bfb16 (diff)
downloadlinux-19dbdcb8039cff16669a05136a29180778d16d0a.tar.bz2
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 'init')
0 files changed, 0 insertions, 0 deletions