diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index f26fdc94393e..07c954e53270 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1616,8 +1616,8 @@ void show_free_areas(void) | |||
1616 | K(zone->pages_min), | 1616 | K(zone->pages_min), |
1617 | K(zone->pages_low), | 1617 | K(zone->pages_low), |
1618 | K(zone->pages_high), | 1618 | K(zone->pages_high), |
1619 | K(zone->nr_active), | 1619 | K(zone_page_state(zone, NR_ACTIVE)), |
1620 | K(zone->nr_inactive), | 1620 | K(zone_page_state(zone, NR_INACTIVE)), |
1621 | K(zone->present_pages), | 1621 | K(zone->present_pages), |
1622 | zone->pages_scanned, | 1622 | zone->pages_scanned, |
1623 | (zone->all_unreclaimable ? "yes" : "no") | 1623 | (zone->all_unreclaimable ? "yes" : "no") |
@@ -2684,8 +2684,6 @@ static void __meminit free_area_init_core(struct pglist_data *pgdat, | |||
2684 | INIT_LIST_HEAD(&zone->inactive_list); | 2684 | INIT_LIST_HEAD(&zone->inactive_list); |
2685 | zone->nr_scan_active = 0; | 2685 | zone->nr_scan_active = 0; |
2686 | zone->nr_scan_inactive = 0; | 2686 | zone->nr_scan_inactive = 0; |
2687 | zone->nr_active = 0; | ||
2688 | zone->nr_inactive = 0; | ||
2689 | zap_zone_vm_stats(zone); | 2687 | zap_zone_vm_stats(zone); |
2690 | atomic_set(&zone->reclaim_in_progress, 0); | 2688 | atomic_set(&zone->reclaim_in_progress, 0); |
2691 | if (!size) | 2689 | if (!size) |