lkml.org 
[lkml]   [2008]   [Jan]   [14]   [last100]   RSS-feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Complete thread (EXPERIMENTAL)
Patch in this message
/
DateTue, 15 Jan 2008 10:03:23 +0900
FromKOSAKI Motohiro <>
Subject[RFC][PATCH 5/5] /proc/zoneinfo enhancement
Digg This
show new member of zone struct by /proc/zoneinfo.

Signed-off-by: Marcelo Tosatti <marcelo@kvack.org> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
---
 mm/vmstat.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6.24-rc6-mm1-memnotify/mm/vmstat.c

[view this diff only]
===================================================================
--- 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');
 }




\
ISP Services
Valid XHTML 1.0!\ /
Valid CSS! Last update: 2008-01-15 01:07    [W:0.234 / U:0.480 seconds]
©2003-2005 Jasper Spaans