Searched hist:"89240 ba059ca468ae7a8346edf7f95082458c2fc" (Results 1 – 2 of 2) sorted by relevance
/linux/arch/x86/kernel/ |
H A D | process_64.c | diff 89240ba059ca468ae7a8346edf7f95082458c2fc Tue Nov 03 10:22:40 CET 2009 Stefani Seibold <stefani@seibold.net> 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 <stefani@seibold.net> Cc: Americo Wang <xiyou.wangcong@gmail.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Andrew Morton <akpm@linux-foundation.org> LKML-Reference: <1257240160.4889.24.camel@wall-e> Signed-off-by: Ingo Molnar <mingo@elte.hu>
|
/linux/arch/x86/include/asm/ |
H A D | processor.h | diff 89240ba059ca468ae7a8346edf7f95082458c2fc Tue Nov 03 10:22:40 CET 2009 Stefani Seibold <stefani@seibold.net> 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 <stefani@seibold.net> Cc: Americo Wang <xiyou.wangcong@gmail.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Andrew Morton <akpm@linux-foundation.org> LKML-Reference: <1257240160.4889.24.camel@wall-e> Signed-off-by: Ingo Molnar <mingo@elte.hu>
|