From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx204.postini.com [74.125.245.204]) by kanga.kvack.org (Postfix) with SMTP id 81A966B0069 for ; Sat, 10 Dec 2011 11:29:10 -0500 (EST) Received: by qan41 with SMTP id 41so2505596qan.14 for ; Sat, 10 Dec 2011 08:29:09 -0800 (PST) Message-ID: <4EE388D0.2090608@gmail.com> Date: Sat, 10 Dec 2011 11:29:04 -0500 From: KOSAKI Motohiro MIME-Version: 1.0 Subject: Re: [PATCH] vmscan/trace: Add 'active' and 'file' info to trace_mm_vmscan_lru_isolate. References: <1323533451-2953-1-git-send-email-tm@tao.ma> In-Reply-To: <1323533451-2953-1-git-send-email-tm@tao.ma> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Tao Ma Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mel Gorman , Rik van Riel , Johannes Weiner , Christoph Hellwig , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Andrea Arcangeli , Andrew Morton (12/10/11 11:10 AM), Tao Ma wrote: > From: Tao Ma > > In trace_mm_vmscan_lru_isolate, we don't output 'active' and 'file' > information to the trace event and it is a bit inconvenient for the > user to get the real information(like pasted below). > mm_vmscan_lru_isolate: isolate_mode=2 order=0 nr_requested=32 nr_scanned=32 > nr_taken=32 contig_taken=0 contig_dirty=0 contig_failed=0 > > So this patch adds these 2 info to the trace event and it now looks like: > mm_vmscan_lru_isolate: isolate_mode=2 order=0 nr_requested=32 nr_scanned=32 > nr_taken=32 contig_taken=0 contig_dirty=0 contig_failed=0 lru=1,0 addition is ok to me. but lru=1,0 is not human readable. I suspect people will easily forget which value is active. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org