diff options
author | Laura Abbott <[email protected]> | 2017-05-08 14:23:16 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-05-09 08:12:27 +0200 |
commit | 861ce4a3244c21b0af64f880d5bfe5e6e2fb9e4a (patch) | |
tree | 9e6172bffc59dd5697a7227d5311e1e811ad77af /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8638100c52bb7782462b14aad102a4aaf0c7094c (diff) |
x86/mm/32: Set the '__vmalloc_start_set' flag in initmem_init()
'__vmalloc_start_set' currently only gets set in initmem_init() when
!CONFIG_NEED_MULTIPLE_NODES. This breaks detection of vmalloc address
with virt_addr_valid() with CONFIG_NEED_MULTIPLE_NODES=y, causing
a kernel crash:
[mm/usercopy] 517e1fbeb6: kernel BUG at arch/x86/mm/physaddr.c:78!
Set '__vmalloc_start_set' appropriately for that case as well.
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Laura Abbott <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Fixes: dc16ecf7fd1f ("x86-32: use specific __vmalloc_start_set flag in __virt_addr_valid")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions