Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932197Ab2BWXrz (ORCPT ); Thu, 23 Feb 2012 18:47:55 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:59309 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756508Ab2BWXry (ORCPT ); Thu, 23 Feb 2012 18:47:54 -0500 From: Mike Frysinger Organization: wh0rd.org To: Siddhesh Poyarekar Subject: Re: [PATCH] Mark thread stack correctly in proc//maps Date: Thu, 23 Feb 2012 18:47:52 -0500 User-Agent: KMail/1.13.7 (Linux/3.2.0; KDE/4.6.5; x86_64; ; ) Cc: Andrew Morton , KOSAKI Motohiro , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Alexander Viro , linux-fsdevel@vger.kernel.org, Jamie Lokier References: <20120222150010.c784b29b.akpm@linux-foundation.org> <1329969811-3997-1-git-send-email-siddhesh.poyarekar@gmail.com> In-Reply-To: <1329969811-3997-1-git-send-email-siddhesh.poyarekar@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart14333366.JjcOP8X6Ki"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201202231847.55733.vapier@gentoo.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1929 Lines: 45 --nextPart14333366.JjcOP8X6Ki Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=20 perhaps even "[stack tid:%u]" with replacing %u with the tid ? =2Dmike --nextPart14333366.JjcOP8X6Ki Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJPRtArAAoJEEFjO5/oN/WB1uMQAJSUPQQCP7fcPpJaUEMMuaF/ Nw1wSdyAPKXbZskXaZ1Yzzk09kz+i07kktfH6VreSBNsAGS7B0az2DrUr+aS0egg 8aJnWWHoF0rCAzJMulw5mpxDtKpg1kjD9vb/N5RFPq/53G6KB4YmqppYQO1JIL8P KK+OS86rIsr3EQvOXgZJlbj0rQNdP8HSxL61XvuFcW3UywRu+EVno0eNSwfcyAFd bsHhKGdBZ9BztiKL41Zw6DhBty71tR4zUR2UjuONJI4e9tIzP/DHri6WhOIr8qyO HFoQ2UpxEfRVCHAUOc/7aObBHL7Yb46mf2XToIA1r4UM5C/8wt8RREsGEOAcv21i Exctn/+EuvvNN316APFa3J+67NN4JYotUJ5odWslRNBBsOCzApb3DLiJC/nExXsa BITw9UGGgVACmO2bdyuTAAtsU+ttVpTcbuhudGYc80H/DJt72JMHH3Bh4nPrssZN rhXqvswqzBSzrFmDmrxuOyr84q4Lqr+Gx6knRL7XjTUR5lz/yk/GX8iu68MLBTt7 acW4tly8nt5CJAGcY/KL9FBd95FDbZ+TqzzQJG9kVZW3UGU0WkBb0G+B9a/xPnsU pCZBM4IMuwtO7cP5cTVan40lk+37MyBRALJ7lljiQcB+Abu2mAbiTUcI+oSNzwZL f2SnnQLPpN/0QWoj18fy =lVl7 -----END PGP SIGNATURE----- --nextPart14333366.JjcOP8X6Ki-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/