Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756219AbYAOBE3 (ORCPT ); Mon, 14 Jan 2008 20:04:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752900AbYAOBEU (ORCPT ); Mon, 14 Jan 2008 20:04:20 -0500 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:46014 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752469AbYAOBET (ORCPT ); Mon, 14 Jan 2008 20:04:19 -0500 Date: Tue, 15 Jan 2008 10:03:23 +0900 From: KOSAKI Motohiro To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [RFC][PATCH 5/5] /proc/zoneinfo enhancement Cc: kosaki.motohiro@jp.fujitsu.com, Marcelo Tosatti , Daniel Spang , Rik van Riel , Andrew Morton In-Reply-To: <20080115092828.116F.KOSAKI.MOTOHIRO@jp.fujitsu.com> References: <20080115092828.116F.KOSAKI.MOTOHIRO@jp.fujitsu.com> Message-Id: <20080115100233.117E.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.42 [ja] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1187 Lines: 33 show new member of zone struct by /proc/zoneinfo. Signed-off-by: Marcelo Tosatti Signed-off-by: KOSAKI Motohiro --- mm/vmstat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6.24-rc6-mm1-memnotify/mm/vmstat.c =================================================================== --- linux-2.6.24-rc6-mm1-memnotify.orig/mm/vmstat.c 2008-01-13 16:42:54.000000000 +0900 +++ linux-2.6.24-rc6-mm1-memnotify/mm/vmstat.c 2008-01-13 17:07:43.000000000 +0900 @@ -795,9 +795,11 @@ static void zoneinfo_show_print(struct s seq_printf(m, "\n all_unreclaimable: %u" "\n prev_priority: %i" + "\n mem_notify_status: %i" "\n start_pfn: %lu", - zone_is_all_unreclaimable(zone), + zone_is_all_unreclaimable(zone), zone->prev_priority, + zone->mem_notify_status, zone->zone_start_pfn); seq_putc(m, '\n'); } -- 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/