Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932332AbZD1LGy (ORCPT ); Tue, 28 Apr 2009 07:06:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756920AbZD1LGo (ORCPT ); Tue, 28 Apr 2009 07:06:44 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:35130 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756902AbZD1LGn (ORCPT ); Tue, 28 Apr 2009 07:06:43 -0400 Date: Tue, 28 Apr 2009 13:05:53 +0200 From: Ingo Molnar To: Wu Fengguang Cc: KOSAKI Motohiro , Pekka Enberg , Andi Kleen , Steven Rostedt , =?utf-8?B?RnLpppjpp7tpYw==?= Weisbecker , Larry Woodman , Peter Zijlstra , Eduard - Gabriel Munteanu , Andrew Morton , LKML , Matt Mackall , Alexey Dobriyan , "linux-mm@kvack.org" Subject: Re: [PATCH 5/5] proc: export more page flags in /proc/kpageflags Message-ID: <20090428110553.GD25347@elte.hu> References: <84144f020904280219p197d5ceag846ae9a80a76884e@mail.gmail.com> <20090428092918.GC21085@elte.hu> <20090428183237.EBDE.A69D9226@jp.fujitsu.com> <20090428093833.GE21085@elte.hu> <20090428095551.GB21168@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090428095551.GB21168@localhost> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1005 Lines: 26 * Wu Fengguang wrote: > > See my other mail i just sent: it would be a natural extension > > of tracing to also dump all current object state when tracing is > > turned on. That way no drop_caches is needed at all. > > I can understand the merits here - I also did readahead > tracing/accounting in _one_ piece of code. Very handy. > > The readahead traces are now raw printks - converting to the > ftrace framework would be a big win. > > But. It's still not a fit-all solution. Imagine when full data > _since_ booting is required, but the user cannot afford a reboot. The above 'get object state' interface (which allows passive sampling) - integrated into the tracing framework - would serve that goal, agreed? Ingo -- 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/