diff options
| author | Frederic Weisbecker <[email protected]> | 2009-12-31 02:52:25 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-01-13 08:32:54 +0000 |
| commit | c2c5d45d46c8c0fd34291dec958670ad4816796f (patch) | |
| tree | 3d65ac0b76107abb6cf30982f69ccb9120de5be7 /scripts/mod/file2alias.c | |
| parent | Linux 2.6.33-rc4 (diff) | |
| download | kernel-c2c5d45d46c8c0fd34291dec958670ad4816796f.tar.gz kernel-c2c5d45d46c8c0fd34291dec958670ad4816796f.zip | |
perf: Stop stack frame walking off kernel addresses boundaries
While processing kernel perf callchains, an bad entry can be
considered as a valid stack pointer but not as a kernel address.
In this case, we hang in an endless loop. This can happen in an
x86-32 kernel after processing the last entry in a kernel
stacktrace.
Just stop the stack frame walking after we encounter an invalid
kernel address.
This fixes a hard lockup in x86-32.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
