Re: [PATCH] Mark thread stack correctly in proc/<pid>/maps

From: Mike Frysinger
Date: Thu Feb 23 2012 - 18:48:08 EST


On Wednesday 22 February 2012 23:03:31 Siddhesh Poyarekar wrote:
> With this patch in place, /proc/PID/task/TID/maps are treated as 'maps
> as the task would see it' and hence, only the vma that that task uses
> as stack is marked as [stack]. All other 'stack' vmas are marked as
> anonymous memory. /proc/PID/maps acts as a thread group level view,
> where all stack vmas are marked.

i don't suppose we could have it say "[tid stack]" rather than "[stack]" ? or
perhaps even "[stack tid:%u]" with replacing %u with the tid ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.