Skip to content

x86: stack-related cleanups and fixes

Josh Poimboeuf lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86/dumpstack: remove show_trace()arch/x86/include/asm/kdebug.h arch/x86/kernel/dumpstack.c+0 -80 replies
2/8x86/asm/head: remove unused init_rsp variable externarch/x86/include/asm/realmode.h+0 -10 replies
3/8x86/asm/head: rename 'stack_start' -> 'initial_stack'arch/x86/include/asm/realmode.h arch/x86/include/asm/smp.h arch/x86/kernel/acpi/sleep.c +3 more+12 -150 replies
4/8x86/dumpstack: remove extra brackets around "<EOE>"arch/x86/kernel/dumpstack_64.c+1 -10 replies
5/8x86/head: remove useless zeroed wordarch/x86/kernel/head_64.S+0 -15 replies
6/8x86/dumpstack: fix x86_32 kernel_stack_pointer() previous stack accessarch/x86/kernel/ptrace.c+2 -20 replies
7/8proc: fix return address printk conversion specifer in /proc/<pid>/stackfs/proc/base.c+1 -10 replies
8/8x86: remove 64-byte gap at end of irq stackarch/x86/kernel/cpu/common.c arch/x86/kernel/dumpstack_64.c arch/x86/kernel/setup_percpu.c+5 -80 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchAndy Lutomirski
1/8R-b
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] x86: stack-related cleanups and fixes

Here's an assortment of stack-related cleanups and fixes I found when writing the new x86 unwinder.

Josh Poimboeuf (8):
x86/dumpstack: remove show_trace()
x86/asm/head: remove unused init_rsp variable extern x86/asm/head: rename 'stack_start' -> 'initial_stack' x86/dumpstack: remove extra brackets around "<EOE>" x86/head: remove useless zeroed word
x86/dumpstack: fix x86_32 kernel_stack_pointer() previous stack access
proc: fix return address printk conversion specifer in

    /proc/<pid>/stack

x86: remove 64-byte gap at end of irq stack

 arch/x86/include/asm/kdebug.h   |  2 --
 arch/x86/include/asm/realmode.h |  2 +-
 arch/x86/include/asm/smp.h      |  3 ---
 arch/x86/kernel/acpi/sleep.c    |  2 +-
 arch/x86/kernel/cpu/common.c    |  2 +-
 arch/x86/kernel/dumpstack.c     |  6 ------
 arch/x86/kernel/dumpstack_64.c  | 11 ++++-------
 arch/x86/kernel/head_32.S       |  8 ++++----
 arch/x86/kernel/head_64.S       | 12 +++++-------
 arch/x86/kernel/ptrace.c        |  4 ++--
 arch/x86/kernel/setup_percpu.c  |  2 +-
 arch/x86/kernel/smpboot.c       |  2 +-
 fs/proc/base.c                  |  2 +-
 13 files changed, 21 insertions(+), 37 deletions(-)
Signature · 1 line
2.7.4