diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 5953dc2d196f..ef025e20dbee 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -4449,6 +4449,11 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat, | |||
4449 | int ret; | 4449 | int ret; |
4450 | 4450 | ||
4451 | pgdat_resize_init(pgdat); | 4451 | pgdat_resize_init(pgdat); |
4452 | #ifdef CONFIG_NUMA_BALANCING | ||
4453 | spin_lock_init(&pgdat->numabalancing_migrate_lock); | ||
4454 | pgdat->numabalancing_migrate_nr_pages = 0; | ||
4455 | pgdat->numabalancing_migrate_next_window = jiffies; | ||
4456 | #endif | ||
4452 | init_waitqueue_head(&pgdat->kswapd_wait); | 4457 | init_waitqueue_head(&pgdat->kswapd_wait); |
4453 | init_waitqueue_head(&pgdat->pfmemalloc_wait); | 4458 | init_waitqueue_head(&pgdat->pfmemalloc_wait); |
4454 | pgdat_page_cgroup_init(pgdat); | 4459 | pgdat_page_cgroup_init(pgdat); |