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-- 6.2 KB
Makefile -rw-r--r-- 441 bytes
bsd_comp.c -rw-r--r-- 28.9 KB
ppp_async.c -rw-r--r-- 23.5 KB
ppp_deflate.c -rw-r--r-- 17.8 KB
ppp_generic.c -rw-r--r-- 77.7 KB
ppp_mppe.c -rw-r--r-- 19.2 KB
ppp_mppe.h -rw-r--r-- 4.1 KB
ppp_synctty.c -rw-r--r-- 16.5 KB
pppoe.c -rw-r--r-- 27.1 KB
pppox.c -rw-r--r-- 3.2 KB
pptp.c -rw-r--r-- 15.5 KB

back to top