diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2016-10-26 10:41:50 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-10-27 08:32:38 +0200 |
commit | 0d2b8579add41e08aa1110da864f1071d58e6048 (patch) | |
tree | ee5e8f17b59d1cf6503159250724794f16267ceb /arch/x86/kernel/unwind_frame.c | |
parent | c32c47c68a0ae701088c5b2c3798856ed16746ae (diff) | |
download | linux-stable-0d2b8579add41e08aa1110da864f1071d58e6048.tar.gz linux-stable-0d2b8579add41e08aa1110da864f1071d58e6048.tar.bz2 linux-stable-0d2b8579add41e08aa1110da864f1071d58e6048.zip |
x86/dumpstack: Warn on stack recursion
Print a warning if stack recursion is detected.
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/def18247aafaab480844484398e793f552b79bda.1477496147.git.jpoimboe@redhat.com
[ Unbroke the lines. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/unwind_frame.c')
0 files changed, 0 insertions, 0 deletions