Re: [PATCH] NOMMU: Add '[stack]' label to /proc/pid/maps output

From: Linus Torvalds
Date: Tue Jun 01 2010 - 15:12:48 EST




On Tue, 1 Jun 2010, David Howells wrote:
>
> From: Mike Frysinger <vapier@xxxxxxxxxx>
>
> Add support to the NOMMU /proc/pid/maps file to show which mapping is the stack
> of the original thread after execve. This is largely based on the MMU code.

Umm? The MMU code that we _reverted_?

It turns out to be totally useless, since people put stacks in various
different places, and the values the kernel does see end up not even being
the "real" stack top.

See commit 34441427aab4bdb3069a4ffcda69a99357abcb2e.

Just don't do it.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/