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
File | Mode | Size |
---|---|---|
algos | ||
busses | ||
muxes | ||
Kconfig | -rw-r--r-- | 4.4 KB |
Makefile | -rw-r--r-- | 623 bytes |
i2c-boardinfo.c | -rw-r--r-- | 2.9 KB |
i2c-core-acpi.c | -rw-r--r-- | 17.4 KB |
i2c-core-base.c | -rw-r--r-- | 65.1 KB |
i2c-core-of.c | -rw-r--r-- | 6.5 KB |
i2c-core-slave.c | -rw-r--r-- | 2.8 KB |
i2c-core-smbus.c | -rw-r--r-- | 20.0 KB |
i2c-core.h | -rw-r--r-- | 2.9 KB |
i2c-dev.c | -rw-r--r-- | 19.3 KB |
i2c-mux.c | -rw-r--r-- | 12.5 KB |
i2c-slave-eeprom.c | -rw-r--r-- | 4.3 KB |
i2c-smbus.c | -rw-r--r-- | 5.1 KB |
i2c-stub.c | -rw-r--r-- | 9.8 KB |
Computing file changes ...