page allocator: use allocation flags as an index to the zone watermark
[safe/jmp/linux-2.6] / mm / vmstat.c
index 74d66db..4151107 100644 (file)
@@ -714,9 +714,9 @@ static void zoneinfo_show_print(struct seq_file *m, pg_data_t *pgdat,
                   "\n        spanned  %lu"
                   "\n        present  %lu",
                   zone_page_state(zone, NR_FREE_PAGES),
-                  zone->pages_min,
-                  zone->pages_low,
-                  zone->pages_high,
+                  min_wmark_pages(zone),
+                  low_wmark_pages(zone),
+                  high_wmark_pages(zone),
                   zone->pages_scanned,
                   zone->lru[LRU_ACTIVE_ANON].nr_scan,
                   zone->lru[LRU_INACTIVE_ANON].nr_scan,