From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx188.postini.com [74.125.245.188]) by kanga.kvack.org (Postfix) with SMTP id 30C0A6B004A for ; Thu, 23 Feb 2012 19:50:06 -0500 (EST) Received: by yenl5 with SMTP id l5so1112024yen.14 for ; Thu, 23 Feb 2012 16:50:05 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <4F32B776.6070007@gmail.com> <1328972596-4142-1-git-send-email-siddhesh.poyarekar@gmail.com> From: KOSAKI Motohiro Date: Thu, 23 Feb 2012 19:49:45 -0500 Message-ID: Subject: Re: [PATCH] Mark thread stack correctly in proc//maps Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Siddhesh Poyarekar Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Alexander Viro , linux-fsdevel@vger.kernel.org, Jamie Lokier , vapier@gentoo.org 2012/2/23 KOSAKI Motohiro : > 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org