diff options
Diffstat (limited to 'mm/vmstat.c')
-rw-r--r-- | mm/vmstat.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c index c7370579111b..df14808f0a36 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c | |||
@@ -801,6 +801,8 @@ const char * const vmstat_text[] = { | |||
801 | "thp_collapse_alloc", | 801 | "thp_collapse_alloc", |
802 | "thp_collapse_alloc_failed", | 802 | "thp_collapse_alloc_failed", |
803 | "thp_split", | 803 | "thp_split", |
804 | "thp_zero_page_alloc", | ||
805 | "thp_zero_page_alloc_failed", | ||
804 | #endif | 806 | #endif |
805 | 807 | ||
806 | #endif /* CONFIG_VM_EVENTS_COUNTERS */ | 808 | #endif /* CONFIG_VM_EVENTS_COUNTERS */ |
@@ -930,7 +932,7 @@ static int pagetypeinfo_show(struct seq_file *m, void *arg) | |||
930 | pg_data_t *pgdat = (pg_data_t *)arg; | 932 | pg_data_t *pgdat = (pg_data_t *)arg; |
931 | 933 | ||
932 | /* check memoryless node */ | 934 | /* check memoryless node */ |
933 | if (!node_state(pgdat->node_id, N_HIGH_MEMORY)) | 935 | if (!node_state(pgdat->node_id, N_MEMORY)) |
934 | return 0; | 936 | return 0; |
935 | 937 | ||
936 | seq_printf(m, "Page block order: %d\n", pageblock_order); | 938 | seq_printf(m, "Page block order: %d\n", pageblock_order); |
@@ -992,14 +994,16 @@ static void zoneinfo_show_print(struct seq_file *m, pg_data_t *pgdat, | |||
992 | "\n high %lu" | 994 | "\n high %lu" |
993 | "\n scanned %lu" | 995 | "\n scanned %lu" |
994 | "\n spanned %lu" | 996 | "\n spanned %lu" |
995 | "\n present %lu", | 997 | "\n present %lu" |
998 | "\n managed %lu", | ||
996 | zone_page_state(zone, NR_FREE_PAGES), | 999 | zone_page_state(zone, NR_FREE_PAGES), |
997 | min_wmark_pages(zone), | 1000 | min_wmark_pages(zone), |
998 | low_wmark_pages(zone), | 1001 | low_wmark_pages(zone), |
999 | high_wmark_pages(zone), | 1002 | high_wmark_pages(zone), |
1000 | zone->pages_scanned, | 1003 | zone->pages_scanned, |
1001 | zone->spanned_pages, | 1004 | zone->spanned_pages, |
1002 | zone->present_pages); | 1005 | zone->present_pages, |
1006 | zone->managed_pages); | ||
1003 | 1007 | ||
1004 | for (i = 0; i < NR_VM_ZONE_STAT_ITEMS; i++) | 1008 | for (i = 0; i < NR_VM_ZONE_STAT_ITEMS; i++) |
1005 | seq_printf(m, "\n %-12s %lu", vmstat_text[i], | 1009 | seq_printf(m, "\n %-12s %lu", vmstat_text[i], |
@@ -1292,7 +1296,7 @@ static int unusable_show(struct seq_file *m, void *arg) | |||
1292 | pg_data_t *pgdat = (pg_data_t *)arg; | 1296 | pg_data_t *pgdat = (pg_data_t *)arg; |
1293 | 1297 | ||
1294 | /* check memoryless node */ | 1298 | /* check memoryless node */ |
1295 | if (!node_state(pgdat->node_id, N_HIGH_MEMORY)) | 1299 | if (!node_state(pgdat->node_id, N_MEMORY)) |
1296 | return 0; | 1300 | return 0; |
1297 | 1301 | ||
1298 | walk_zones_in_node(m, pgdat, unusable_show_print); | 1302 | walk_zones_in_node(m, pgdat, unusable_show_print); |