diff options
| author | Hugh Dickins <[email protected]> | 2012-03-23 21:02:55 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2012-03-24 07:15:04 +0000 |
| commit | 65c0ff4079c011232e795e62c74a0a95512b7ac3 (patch) | |
| tree | f578bc91f8e241c23b068bec2ecd0f58b0a322fb /lib/mpi/mpi-inline.c | |
| parent | x86/io_apic: Move and reenable irq only when CONFIG_GENERIC_PENDING_IRQ=y (diff) | |
| download | kernel-65c0ff4079c011232e795e62c74a0a95512b7ac3.tar.gz kernel-65c0ff4079c011232e795e62c74a0a95512b7ac3.zip | |
x86: Stop recursive fault in print_context_stack after stack overflow
After printing out the first line of a stack backtrace,
print_context_stack() calls print_ftrace_graph_addr() to check
if it's making a graph of function calls, usually not the case.
But unfortunate ordering of assignments causes this to oops if
an earlier stack overflow corrupted threadinfo->task. Reorder
to avoid that irritation.
( The fact that there was a stack overflow may often be more
interesting than the stack that can now be shown; but
integrating that information with this stacktrace is awkward,
so leave it to overflow reporting. )
Signed-off-by: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions
