page allocator: use allocation flags as an index to the zone watermark
[sfrench/cifs-2.6.git] / mm / vmstat.c
index 74d66dba0cbe45429f7b663c783a6f839e2ceb3f..415110772c73e40f9bedc7fce658849bfdd0544c 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,