[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHGf_=q7epQdxRMpQGhZ+734dZRPbM+wdAP74NwJrKLvkxZKuQ@mail.gmail.com>
Date: Thu, 23 Feb 2012 19:49:45 -0500
From: KOSAKI Motohiro <kosaki.motohiro@...il.com>
To: Siddhesh Poyarekar <siddhesh.poyarekar@...il.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Alexander Viro <viro@...iv.linux.org.uk>,
linux-fsdevel@...r.kernel.org, Jamie Lokier <jamie@...reable.org>,
vapier@...too.org
Subject: Re: [PATCH] Mark thread stack correctly in proc/<pid>/maps
2012/2/23 KOSAKI Motohiro <kosaki.motohiro@...il.com>:
> Hi
>
> This version makes sense to me. and I verified this change don't break
> procps tools.
Sigh. No, I missed one thing. If application use
makecontext()/swapcontext() pair,
ESP is not reliable way to detect pthread stack. At that time the
stack is still marked
as anonymous memory.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists