From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 41C146B004D for ; Sun, 13 Sep 2009 22:46:42 -0400 (EDT) Date: Mon, 14 Sep 2009 10:46:36 +0800 From: Wu Fengguang Subject: Re: Isolated(anon) and Isolated(file) Message-ID: <20090914024636.GA10570@localhost> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Hugh Dickins Cc: KOSAKI Motohiro , Rik van Riel , Minchan Kim , Andrew Morton , "linux-mm@kvack.org" List-ID: On Mon, Sep 14, 2009 at 03:42:38AM +0800, Hugh Dickins wrote: > Hi KOSAKI-san, > > May I question the addition of Isolated(anon) and Isolated(file) > lines to /proc/meminfo? I get irritated by all such "0 kB" lines! > > I see their appropriateness and usefulness in the Alt-Sysrq-M-style > info which accompanies an OOM; and I see that those statistics help > you to identify and fix bugs of having too many pages isolated. > > But IMHO they're too transient to be appropriate in /proc/meminfo: > by the time the "cat /proc/meminfo" is done, the situation is very > different (or should be once the bugs are fixed). > > Almost all its numbers are transient, of course, but these seem > so much so that I think /proc/meminfo is better off without them > (compressing more info into fewer lines). > > Perhaps I'm in the minority: if others care, what do they think? Hugh, I tend to agree with you. Typically one will have difficulty running the "cat /proc/meminfo" command when isolated numbers are large, because that means so many processes running that 'cat' cannot be scheduled for very long time. If anywhere, /proc/vmstat (which has more "advanced" numbers) or /sys/devices/system/node/node0/meminfo (which is less visited by human?) may be more suitable place for the isolated numbers. Thanks, Fengguang -- 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/ . Don't email: email@kvack.org