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 |
---|---|---|
acpica | ||
apei | ||
arm64 | ||
dptf | ||
hmat | ||
nfit | ||
pmic | ||
x86 | ||
Kconfig | -rw-r--r-- | 19.0 KB |
Makefile | -rw-r--r-- | 3.7 KB |
ac.c | -rw-r--r-- | 11.1 KB |
acpi_adxl.c | -rw-r--r-- | 4.7 KB |
acpi_amba.c | -rw-r--r-- | 3.0 KB |
acpi_apd.c | -rw-r--r-- | 6.1 KB |
acpi_cmos_rtc.c | -rw-r--r-- | 2.0 KB |
acpi_configfs.c | -rw-r--r-- | 6.2 KB |
acpi_dbg.c | -rw-r--r-- | 17.9 KB |
acpi_extlog.c | -rw-r--r-- | 8.7 KB |
acpi_ipmi.c | -rw-r--r-- | 16.4 KB |
acpi_lpat.c | -rw-r--r-- | 4.0 KB |
acpi_lpit.c | -rw-r--r-- | 4.2 KB |
acpi_lpss.c | -rw-r--r-- | 34.4 KB |
acpi_memhotplug.c | -rw-r--r-- | 9.5 KB |
acpi_pad.c | -rw-r--r-- | 12.1 KB |
acpi_platform.c | -rw-r--r-- | 3.8 KB |
acpi_pnp.c | -rw-r--r-- | 13.5 KB |
acpi_processor.c | -rw-r--r-- | 17.7 KB |
acpi_tad.c | -rw-r--r-- | 15.6 KB |
acpi_video.c | -rw-r--r-- | 58.5 KB |
acpi_watchdog.c | -rw-r--r-- | 4.3 KB |
battery.c | -rw-r--r-- | 44.1 KB |
bgrt.c | -rw-r--r-- | 2.9 KB |
blacklist.c | -rw-r--r-- | 3.7 KB |
bus.c | -rw-r--r-- | 33.1 KB |
button.c | -rw-r--r-- | 17.3 KB |
cm_sbs.c | -rw-r--r-- | 2.1 KB |
container.c | -rw-r--r-- | 2.7 KB |
cppc_acpi.c | -rw-r--r-- | 40.9 KB |
custom_method.c | -rw-r--r-- | 2.0 KB |
debugfs.c | -rw-r--r-- | 463 bytes |
device_pm.c | -rw-r--r-- | 37.0 KB |
device_sysfs.c | -rw-r--r-- | 16.3 KB |
dock.c | -rw-r--r-- | 16.5 KB |
ec.c | -rw-r--r-- | 56.5 KB |
ec_sys.c | -rw-r--r-- | 3.1 KB |
event.c | -rw-r--r-- | 4.3 KB |
evged.c | -rw-r--r-- | 4.2 KB |
fan.c | -rw-r--r-- | 10.0 KB |
glue.c | -rw-r--r-- | 8.9 KB |
hed.c | -rw-r--r-- | 1.9 KB |
internal.h | -rw-r--r-- | 9.3 KB |
ioapic.c | -rw-r--r-- | 5.9 KB |
irq.c | -rw-r--r-- | 8.9 KB |
numa.c | -rw-r--r-- | 12.2 KB |
nvs.c | -rw-r--r-- | 4.6 KB |
osi.c | -rw-r--r-- | 13.1 KB |
osl.c | -rw-r--r-- | 41.8 KB |
pci_irq.c | -rw-r--r-- | 13.4 KB |
pci_link.c | -rw-r--r-- | 23.6 KB |
pci_mcfg.c | -rw-r--r-- | 8.2 KB |
pci_root.c | -rw-r--r-- | 25.5 KB |
pci_slot.c | -rw-r--r-- | 4.7 KB |
power.c | -rw-r--r-- | 26.0 KB |
pptt.c | -rw-r--r-- | 22.1 KB |
proc.c | -rw-r--r-- | 3.6 KB |
processor_core.c | -rw-r--r-- | 9.2 KB |
processor_driver.c | -rw-r--r-- | 8.2 KB |
processor_idle.c | -rw-r--r-- | 38.0 KB |
processor_pdc.c | -rw-r--r-- | 4.7 KB |
processor_perflib.c | -rw-r--r-- | 19.6 KB |
processor_thermal.c | -rw-r--r-- | 5.8 KB |
processor_throttling.c | -rw-r--r-- | 31.0 KB |
property.c | -rw-r--r-- | 35.8 KB |
reboot.c | -rw-r--r-- | 1.7 KB |
resource.c | -rw-r--r-- | 22.8 KB |
sbs.c | -rw-r--r-- | 19.5 KB |
sbshc.c | -rw-r--r-- | 7.1 KB |
sbshc.h | -rw-r--r-- | 999 bytes |
scan.c | -rw-r--r-- | 58.0 KB |
sleep.c | -rw-r--r-- | 31.9 KB |
sleep.h | -rw-r--r-- | 507 bytes |
spcr.c | -rw-r--r-- | 5.8 KB |
sysfs.c | -rw-r--r-- | 27.4 KB |
tables.c | -rw-r--r-- | 22.2 KB |
thermal.c | -rw-r--r-- | 31.4 KB |
utils.c | -rw-r--r-- | 22.2 KB |
video_detect.c | -rw-r--r-- | 12.7 KB |
wakeup.c | -rw-r--r-- | 2.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...