Revision 733d1d1a7745113e2b6a1761300e7e26b6eb6009 authored by Alexander Potapenko on 03 August 2019, 04:49:22 UTC, committed by Linus Torvalds on 03 August 2019, 14:02:01 UTC
kmalloc() shouldn't sleep while in RCU critical section, therefore use GFP_ATOMIC instead of GFP_KERNEL. The bug was spotted by the 0day kernel testing robot. Link: http://lkml.kernel.org/r/20190725121703.210874-1-glider@google.com Fixes: 7e659650cbda ("lib: introduce test_meminit module") Signed-off-by: Alexander Potapenko <glider@google.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Reported-by: kernel test robot <lkp@intel.com> Cc: Kees Cook <keescook@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent cbedfe1
File | Mode | Size |
---|---|---|
firmware_loader | ||
power | ||
regmap | ||
test | ||
Kconfig | -rw-r--r-- | 6.8 KB |
Makefile | -rw-r--r-- | 955 bytes |
arch_topology.c | -rw-r--r-- | 5.6 KB |
attribute_container.c | -rw-r--r-- | 11.9 KB |
base.h | -rw-r--r-- | 6.4 KB |
bus.c | -rw-r--r-- | 30.9 KB |
cacheinfo.c | -rw-r--r-- | 17.1 KB |
class.c | -rw-r--r-- | 14.8 KB |
component.c | -rw-r--r-- | 20.5 KB |
container.c | -rw-r--r-- | 814 bytes |
core.c | -rw-r--r-- | 88.4 KB |
cpu.c | -rw-r--r-- | 14.3 KB |
dd.c | -rw-r--r-- | 32.5 KB |
devcon.c | -rw-r--r-- | 5.3 KB |
devcoredump.c | -rw-r--r-- | 9.3 KB |
devres.c | -rw-r--r-- | 27.7 KB |
devtmpfs.c | -rw-r--r-- | 9.1 KB |
driver.c | -rw-r--r-- | 5.8 KB |
firmware.c | -rw-r--r-- | 606 bytes |
hypervisor.c | -rw-r--r-- | 536 bytes |
init.c | -rw-r--r-- | 768 bytes |
isa.c | -rw-r--r-- | 3.8 KB |
map.c | -rw-r--r-- | 3.3 KB |
memory.c | -rw-r--r-- | 21.7 KB |
module.c | -rw-r--r-- | 2.0 KB |
node.c | -rw-r--r-- | 26.8 KB |
pinctrl.c | -rw-r--r-- | 2.7 KB |
platform-msi.c | -rw-r--r-- | 10.6 KB |
platform.c | -rw-r--r-- | 37.5 KB |
property.c | -rw-r--r-- | 35.8 KB |
soc.c | -rw-r--r-- | 6.2 KB |
swnode.c | -rw-r--r-- | 19.8 KB |
syscore.c | -rw-r--r-- | 3.2 KB |
topology.c | -rw-r--r-- | 3.9 KB |
transport_class.c | -rw-r--r-- | 9.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...