diff options
| author | jia zhang <[email protected]> | 2008-11-23 14:47:10 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-11-23 19:03:36 +0000 |
| commit | 5f5db591326779a80cfe490c5d6b6ce9fac08b31 (patch) | |
| tree | 4d599ae5e0439050c13023a47b2ee71443efd5e9 /net/unix/af_unix.c | |
| parent | x86: clean up stack overflow debug check (diff) | |
| download | kernel-5f5db591326779a80cfe490c5d6b6ce9fac08b31.tar.gz kernel-5f5db591326779a80cfe490c5d6b6ce9fac08b31.zip | |
x86, debug: remove the confusing entry in call trace
Impact: improve backtrace quality
avoid the confusion in call trace because of the lack of padding at the
tail of function.
When do_exit gets called, the return address behind call instruction is
pushed into stack. If something get wrong in do_exit, for x86_64, the
entry "kernel_execve +0x00/0xXX" rather than "child_rip +0xYY/0xZZ" is
in the call trace.
That looks confusing, so add a u2d to make the return address still part
of the original call site. (This also catches any instances of us returning
from that function somehow.)
Signed-off-by: jia zhang <[email protected]>
Acked-by: Alexander van Heukelum <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
