Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752617Ab0ABI0f (ORCPT ); Sat, 2 Jan 2010 03:26:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752037Ab0ABI0e (ORCPT ); Sat, 2 Jan 2010 03:26:34 -0500 Received: from www84.your-server.de ([213.133.104.84]:60355 "EHLO www84.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751993Ab0ABI0d convert rfc822-to-8bit (ORCPT ); Sat, 2 Jan 2010 03:26:33 -0500 Subject: Re: [PATCH] proc: revert to show stack information in /proc/{pid}/status From: Stefani Seibold To: KOSAKI Motohiro Cc: Samuel Thibault , LKML , Ingo Molnar , Peter Zijlstra , Alexey Dobriyan , "Eric W. Biederman" , Randy Dunlap , Andrew Morton In-Reply-To: <2f11576a1001012153qec2ea0eo7a2762386ed22273@mail.gmail.com> References: <20091231231051.1A1B.A69D9226@jp.fujitsu.com> <1262274494.14143.7.camel@wall-e> <20100101155630.1A1E.A69D9226@jp.fujitsu.com> <1262358616.11460.18.camel@wall-e> <20100101220529.GL4620@const> <1262384490.16706.4.camel@wall-e> <2f11576a1001012153qec2ea0eo7a2762386ed22273@mail.gmail.com> Content-Type: text/plain; charset="ISO-8859-15" Date: Sat, 02 Jan 2010 09:26:16 +0100 Message-ID: <1262420776.18097.3.camel@wall-e> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 Content-Transfer-Encoding: 8BIT 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: 1176 Lines: 29 Am Samstag, den 02.01.2010, 14:53 +0900 schrieb KOSAKI Motohiro: > 2010/1/2 Stefani Seibold : > > Am Freitag, den 01.01.2010, 23:05 +0100 schrieb Samuel Thibault: > >> Stefani Seibold, le Fri 01 Jan 2010 16:10:16 +0100, a ?crit : > >> > But ps is not a performance critical application nor a cat > >> > /proc/*/status! > >> > >> Errr, maybe not so much as some other operations, but a lot of tools use > >> them, so it's really worth considering it. > > > > Right. And i am still trying to find some optimization. Stay tuned. > > I can understand you feel sad. but don't worry. reverting is very usual event > on kernel development. You can retry anytime if you make optimized code. I had analyzed the problem and there is only one solution. Create a new proc//stack_usage entry, which was my first idea. This has absolut now side effects. I will write a patch and post it in the next days. Stefani -- 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/