Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752116Ab0AAQKO (ORCPT ); Fri, 1 Jan 2010 11:10:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751997Ab0AAQKN (ORCPT ); Fri, 1 Jan 2010 11:10:13 -0500 Received: from www84.your-server.de ([213.133.104.84]:60533 "EHLO www84.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751991Ab0AAQKM (ORCPT ); Fri, 1 Jan 2010 11:10:12 -0500 Subject: Re: [PATCH] proc: revert to show stack information in /proc/{pid}/status From: Stefani Seibold To: Andi Kleen Cc: KOSAKI Motohiro , LKML , Ingo Molnar , Peter Zijlstra , Alexey Dobriyan , "Eric W. Biederman" , Randy Dunlap , Andrew Morton In-Reply-To: <87pr5t7rli.fsf@basil.nowhere.org> References: <20091231231051.1A1B.A69D9226@jp.fujitsu.com> <1262274494.14143.7.camel@wall-e> <20100101155630.1A1E.A69D9226@jp.fujitsu.com> <87pr5t7rli.fsf@basil.nowhere.org> Content-Type: text/plain; charset="ISO-8859-15" Date: Fri, 01 Jan 2010 17:09:53 +0100 Message-ID: <1262362193.14370.6.camel@wall-e> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: stefani@seibold.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1098 Lines: 27 Am Freitag, den 01.01.2010, 16:49 +0100 schrieb Andi Kleen: > KOSAKI Motohiro writes: > > > > Anyway, I revert the regresstion patch as other regression patches. if you really want > > this feature, you have three options. > > > > 1. create new /proc file instead to use /proc/pid/status. > > 2. improve performance until typical use-case don't notice regression. > > 3. change ps and other /proc related userland implementation and resubmit this patch. > > > > But even if you choose anything, You have to test both its functional and performance > > _before_ submitting kernel patch. > > > 4. Leave everything alone (revert all the commits) and use a ptrace > based tool to get this information when you need it. > Without the stack_start and the fix for the bogus x86_64 KSTP_ESP it wouldn't be possible. -- 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/