diff options
author | Andy Lutomirski <[email protected]> | 2016-07-14 13:22:53 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-07-15 10:26:27 +0200 |
commit | 98f30b1207932b6553ea605c99393d8afca12324 (patch) | |
tree | 5149ed332c37aaf207a3417a9e0a49d840590c6e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9a2e9da3e003112399f2863b7b6b911043c01895 (diff) |
x86/dumpstack/64: Handle faults when printing the "Stack: " part of an OOPS
If we overflow the stack into a guard page, we'll recursively fault
when trying to dump the contents of the guard page. Use
probe_kernel_address() so we can recover if this happens.
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/e626d47a55d7b04dcb1b4d33faa95e8505b217c8.1468527351.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions