Messages in this thread | | | From | KOSAKI Motohiro <> | Date | Thu, 23 Feb 2012 19:49:45 -0500 | Subject | Re: [PATCH] Mark thread stack correctly in proc/<pid>/maps |
| |
2012/2/23 KOSAKI Motohiro <kosaki.motohiro@gmail.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.
| |