aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2016-07-14 20:22:55 +0000
committerIngo Molnar <[email protected]>2016-07-15 08:26:28 +0000
commit2deb4be28077638591fe5fc593b7f8aabc140f42 (patch)
tree3c06fe6e99676de863c22112927b70c6fd99acc4 /lib/bitmap.c
parentx86/mm/64: In vmalloc_fault(), use CR3 instead of current->active_mm (diff)
downloadkernel-2deb4be28077638591fe5fc593b7f8aabc140f42.tar.gz
kernel-2deb4be28077638591fe5fc593b7f8aabc140f42.zip
x86/dumpstack: When OOPSing, rewind the stack before do_exit()
If we call do_exit() with a clean stack, we greatly reduce the risk of recursive oopses due to stack overflow in do_exit, and we allow do_exit to work even if we OOPS from an IST stack. The latter gives us a much better chance of surviving long enough after we detect a stack overflow to write out our logs. Signed-off-by: Andy Lutomirski <[email protected]> Reviewed-by: Josh Poimboeuf <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/32f73ceb372ec61889598da5e5b145889b9f2e19.1468527351.git.luto@kernel.org Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions