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-- 88 bytes
Kconfig -rw-r--r-- 14.1 KB
Makefile -rw-r--r-- 1016 bytes
adummy.c -rw-r--r-- 4.1 KB
ambassador.c -rw-r--r-- 65.1 KB
ambassador.h -rw-r--r-- 15.0 KB
atmtcp.c -rw-r--r-- 11.4 KB
eni.c -rw-r--r-- 61.4 KB
eni.h -rw-r--r-- 4.6 KB
firestream.c -rw-r--r-- 53.4 KB
firestream.h -rw-r--r-- 13.9 KB
fore200e.c -rw-r--r-- 83.6 KB
fore200e.h -rw-r--r-- 38.1 KB
he.c -rw-r--r-- 76.1 KB
he.h -rw-r--r-- 19.8 KB
horizon.c -rw-r--r-- 82.1 KB
horizon.h -rw-r--r-- 16.0 KB
idt77105.c -rw-r--r-- 11.3 KB
idt77105.h -rw-r--r-- 3.8 KB
idt77252.c -rw-r--r-- 89.5 KB
idt77252.h -rw-r--r-- 33.6 KB
idt77252_tables.h -rw-r--r-- 45.0 KB
iphase.c -rw-r--r-- 107.9 KB
iphase.h -rw-r--r-- 53.4 KB
lanai.c -rw-r--r-- 80.4 KB
midway.h -rw-r--r-- 7.6 KB
nicstar.c -rw-r--r-- 72.3 KB
nicstar.h -rw-r--r-- 22.9 KB
nicstarmac.c -rw-r--r-- 6.0 KB
nicstarmac.copyright -rw-r--r-- 2.7 KB
solos-attrlist.c -rw-r--r-- 2.3 KB
solos-pci.c -rw-r--r-- 38.9 KB
suni.c -rw-r--r-- 9.8 KB
suni.h -rw-r--r-- 9.8 KB
tonga.h -rw-r--r-- 733 bytes
uPD98401.h -rw-r--r-- 11.7 KB
uPD98402.c -rw-r--r-- 6.5 KB
uPD98402.h -rw-r--r-- 4.5 KB
zatm.c -rw-r--r-- 43.6 KB
zatm.h -rw-r--r-- 3.6 KB
zeprom.h -rw-r--r-- 983 bytes

back to top