diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2016-10-26 18:41:48 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-10-27 09:32:37 +0300 |
commit | c32c47c68a0ae701088c5b2c3798856ed16746ae (patch) | |
tree | aa702a4f8e2f511edc3e12262556e6e2388391c1 /arch/x86/kernel/dumpstack_32.c | |
parent | bb12d6740f6de393927362f23f833a79d85df384 (diff) | |
download | linux-c32c47c68a0ae701088c5b2c3798856ed16746ae.tar.xz |
x86/unwind: Warn on bad frame pointer
Detect situations in the unwinder where the frame pointer refers to a
bad address, and print an appropriate warning.
Use printk_deferred_once() because the unwinder can be called with the
console lock by lockdep via save_stack_trace().
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/03c888f6f7414d54fa56b393ea25482be6899b5f.1477496147.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/dumpstack_32.c')
0 files changed, 0 insertions, 0 deletions