lkml.org 
[lkml]   [2008]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC][PATCH 5/8] mem_notify v5: add new mem_notify field to /proc/zoneinfo
show new member of zone struct by /proc/zoneinfo.

ChangeLog:
v5: change display order to at last.


Signed-off-by: Marcelo Tosatti <marcelo@kvack.org>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>

---
mm/vmstat.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

Index: b/mm/vmstat.c
===================================================================
--- a/mm/vmstat.c 2008-01-23 22:06:05.000000000 +0900
+++ b/mm/vmstat.c 2008-01-23 22:08:00.000000000 +0900
@@ -795,10 +795,12 @@ static void zoneinfo_show_print(struct s
seq_printf(m,
"\n all_unreclaimable: %u"
"\n prev_priority: %i"
- "\n start_pfn: %lu",
- zone_is_all_unreclaimable(zone),
+ "\n start_pfn: %lu"
+ "\n mem_notify_status: %i",
+ zone_is_all_unreclaimable(zone),
zone->prev_priority,
- zone->zone_start_pfn);
+ zone->zone_start_pfn,
+ zone->mem_notify_status);
seq_putc(m, '\n');
}





\
 
 \ /
  Last update: 2008-01-24 05:29    [W:0.052 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site