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
chips
devices
hyperbus
lpddr
maps
nand
parsers
spi-nor
tests
ubi
Kconfig -rw-r--r-- 9.4 KB
Makefile -rw-r--r-- 1.1 KB
ar7part.c -rw-r--r-- 3.3 KB
bcm47xxpart.c -rw-r--r-- 8.6 KB
bcm63xxpart.c -rw-r--r-- 4.6 KB
cmdlinepart.c -rw-r--r-- 10.0 KB
ftl.c -rw-r--r-- 30.6 KB
inftlcore.c -rw-r--r-- 23.8 KB
inftlmount.c -rw-r--r-- 21.8 KB
mtd_blkdevs.c -rw-r--r-- 13.5 KB
mtdblock.c -rw-r--r-- 8.5 KB
mtdblock_ro.c -rw-r--r-- 1.8 KB
mtdchar.c -rw-r--r-- 25.0 KB
mtdconcat.c -rw-r--r-- 20.7 KB
mtdcore.c -rw-r--r-- 50.5 KB
mtdcore.h -rw-r--r-- 893 bytes
mtdoops.c -rw-r--r-- 10.7 KB
mtdpart.c -rw-r--r-- 27.8 KB
mtdsuper.c -rw-r--r-- 5.3 KB
mtdswap.c -rw-r--r-- 33.4 KB
nftlcore.c -rw-r--r-- 22.3 KB
nftlmount.c -rw-r--r-- 25.2 KB
ofpart.c -rw-r--r-- 5.6 KB
rfd_ftl.c -rw-r--r-- 17.6 KB
sm_ftl.c -rw-r--r-- 29.9 KB
sm_ftl.h -rw-r--r-- 2.2 KB
ssfdc.c -rw-r--r-- 11.2 KB

back to top