diff options
| author | Alexander Potapenko <[email protected]> | 2019-08-03 04:49:22 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-08-03 14:02:01 +0000 |
| commit | 733d1d1a7745113e2b6a1761300e7e26b6eb6009 (patch) | |
| tree | f7338a50f56560461c195820e98a9ddee1b350fc /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | asm-generic: fix -Wtype-limits compiler warnings (diff) | |
| download | kernel-733d1d1a7745113e2b6a1761300e7e26b6eb6009.tar.gz kernel-733d1d1a7745113e2b6a1761300e7e26b6eb6009.zip | |
lib/test_meminit.c: use GFP_ATOMIC in RCU critical section
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/[email protected]
Fixes: 7e659650cbda ("lib: introduce test_meminit module")
Signed-off-by: Alexander Potapenko <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Reported-by: kernel test robot <[email protected]>
Cc: Kees Cook <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
