The patch titled procfs: fix /proc/<pid>/stat stack pointer for kernel threads has been removed from the -mm tree. Its filename was procfs-fix-proc-pid-stat-stack-pointer-for-kernel-threads.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: procfs: fix /proc/<pid>/stat stack pointer for kernel threads From: Stefani Seibold <stefani@xxxxxxxxxxx> Fix a small issue for the stack pointer in /proc/<pid>/stat. In case of a kernel thread the value of the printed stack pointer should be 0. Signed-off-by: Stefani Seibold <stefani@xxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/proc/array.c~procfs-fix-proc-pid-stat-stack-pointer-for-kernel-threads fs/proc/array.c --- a/fs/proc/array.c~procfs-fix-proc-pid-stat-stack-pointer-for-kernel-threads +++ a/fs/proc/array.c @@ -571,7 +571,7 @@ static int do_task_stat(struct seq_file rsslim, mm ? mm->start_code : 0, mm ? mm->end_code : 0, - (permitted) ? task->stack_start : 0, + (permitted && mm) ? task->stack_start : 0, esp, eip, /* The signal information here is obsolete. _ Patches currently in -mm which might be from stefani@xxxxxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html