Revision 19dbdcb8039cff16669a05136a29180778d16d0a authored by Peter Zijlstra on 18 July 2019, 09:20:09 UTC, committed by Thomas Gleixner on 20 July 2019, 09:27:16 UTC
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
1 parent 22051d9
History
File Mode Size
.gitignore -rw-r--r-- 10 bytes
Kconfig -rw-r--r-- 2.1 KB
Makefile -rw-r--r-- 697 bytes
eisa-bus.c -rw-r--r-- 10.5 KB
eisa.ids -rw-r--r-- 54.4 KB
pci_eisa.c -rw-r--r-- 2.3 KB
virtual_root.c -rw-r--r-- 1.6 KB

back to top