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
appletalk
arcnet
bonding
caif
can
dsa
ethernet
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipvlan
netdevsim
phy
plip
ppp
slip
team
usb
vmxnet3
wan
wimax
wireless
xen-netback
Kconfig -rw-r--r-- 17.5 KB
LICENSE.SRC -rw-r--r-- 891 bytes
Makefile -rw-r--r-- 2.2 KB
Space.c -rw-r--r-- 3.7 KB
dummy.c -rw-r--r-- 5.8 KB
eql.c -rw-r--r-- 14.6 KB
geneve.c -rw-r--r-- 48.8 KB
gtp.c -rw-r--r-- 31.2 KB
ifb.c -rw-r--r-- 8.4 KB
loopback.c -rw-r--r-- 7.1 KB
macsec.c -rw-r--r-- 86.4 KB
macvlan.c -rw-r--r-- 44.8 KB
macvtap.c -rw-r--r-- 6.1 KB
mdio.c -rw-r--r-- 17.2 KB
mii.c -rw-r--r-- 18.0 KB
net_failover.c -rw-r--r-- 23.2 KB
netconsole.c -rw-r--r-- 24.1 KB
nlmon.c -rw-r--r-- 3.4 KB
ntb_netdev.c -rw-r--r-- 12.2 KB
rionet.c -rw-r--r-- 18.4 KB
sb1000.c -rw-r--r-- 31.0 KB
sungem_phy.c -rw-r--r-- 29.8 KB
tap.c -rw-r--r-- 30.4 KB
thunderbolt.c -rw-r--r-- 34.5 KB
tun.c -rw-r--r-- 85.5 KB
veth.c -rw-r--r-- 31.6 KB
virtio_net.c -rw-r--r-- 84.8 KB
vrf.c -rw-r--r-- 33.6 KB
vsockmon.c -rw-r--r-- 3.6 KB
vxlan.c -rw-r--r-- 112.5 KB
xen-netfront.c -rw-r--r-- 55.0 KB

back to top