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
Kconfig -rw-r--r-- 3.8 KB
Makefile -rw-r--r-- 779 bytes
badrange.c -rw-r--r-- 7.7 KB
blk.c -rw-r--r-- 8.3 KB
btt.c -rw-r--r-- 42.9 KB
btt.h -rw-r--r-- 7.3 KB
btt_devs.c -rw-r--r-- 8.9 KB
bus.c -rw-r--r-- 28.8 KB
claim.c -rw-r--r-- 7.6 KB
core.c -rw-r--r-- 10.3 KB
dax_devs.c -rw-r--r-- 3.0 KB
dimm.c -rw-r--r-- 3.1 KB
dimm_devs.c -rw-r--r-- 22.3 KB
e820.c -rw-r--r-- 2.3 KB
label.c -rw-r--r-- 35.3 KB
label.h -rw-r--r-- 4.1 KB
namespace_devs.c -rw-r--r-- 65.3 KB
nd-core.h -rw-r--r-- 6.5 KB
nd.h -rw-r--r-- 11.4 KB
of_pmem.c -rw-r--r-- 2.8 KB
pfn.h -rw-r--r-- 1.2 KB
pfn_devs.c -rw-r--r-- 20.5 KB
pmem.c -rw-r--r-- 15.3 KB
pmem.h -rw-r--r-- 1.1 KB
region.c -rw-r--r-- 4.1 KB
region_devs.c -rw-r--r-- 31.4 KB
security.c -rw-r--r-- 12.0 KB

back to top