]> Git Repo - linux.git/commit
x86, fs: Fix x86 procfs stack information for threads on 64-bit
authorStefani Seibold <[email protected]>
Tue, 3 Nov 2009 09:22:40 +0000 (10:22 +0100)
committerIngo Molnar <[email protected]>
Wed, 4 Nov 2009 12:25:03 +0000 (13:25 +0100)
commit89240ba059ca468ae7a8346edf7f95082458c2fc
treea16b4ce794572d256f568e41fe9ccfc10c35ff39
parent1d87cff407ceddf0bc4e825949a4b1bf645418bd
x86, fs: Fix x86 procfs stack information for threads on 64-bit

This patch fixes two issues in the procfs stack information on
x86-64 linux.

The 32 bit loader compat_do_execve did not store stack
start. (this was figured out by Alexey Dobriyan).

The stack information on a x64_64 kernel always shows 0 kbyte
stack usage, because of a missing implementation of the KSTK_ESP
macro which always returned -1.

The new implementation now returns the right value.

Signed-off-by: Stefani Seibold <[email protected]>
Cc: Americo Wang <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Andrew Morton <[email protected]>
LKML-Reference: <1257240160.4889.24.camel@wall-e>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/include/asm/processor.h
arch/x86/kernel/process_64.c
fs/compat.c
This page took 0.057634 seconds and 4 git commands to generate.