aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 87dc1297fe39..3a877fecc300 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2045,6 +2045,7 @@ static void __meminit free_area_init_core(struct pglist_data *pgdat,
2045 zone->nr_scan_inactive = 0; 2045 zone->nr_scan_inactive = 0;
2046 zone->nr_active = 0; 2046 zone->nr_active = 0;
2047 zone->nr_inactive = 0; 2047 zone->nr_inactive = 0;
2048 zap_zone_vm_stats(zone);
2048 atomic_set(&zone->reclaim_in_progress, 0); 2049 atomic_set(&zone->reclaim_in_progress, 0);
2049 if (!size) 2050 if (!size)
2050 continue; 2051 continue;
@@ -2147,6 +2148,7 @@ static int page_alloc_cpu_notify(struct notifier_block *self,
2147 } 2148 }
2148 2149
2149 local_irq_enable(); 2150 local_irq_enable();
2151 refresh_cpu_vm_stats(cpu);
2150 } 2152 }
2151 return NOTIFY_OK; 2153 return NOTIFY_OK;
2152} 2154}