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 63358d9f9aa9..ea2c4d3e0c03 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -5210,6 +5210,11 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat) | |||
5210 | pgdat->numabalancing_migrate_nr_pages = 0; | 5210 | pgdat->numabalancing_migrate_nr_pages = 0; |
5211 | pgdat->numabalancing_migrate_next_window = jiffies; | 5211 | pgdat->numabalancing_migrate_next_window = jiffies; |
5212 | #endif | 5212 | #endif |
5213 | #ifdef CONFIG_TRANSPARENT_HUGEPAGE | ||
5214 | spin_lock_init(&pgdat->split_queue_lock); | ||
5215 | INIT_LIST_HEAD(&pgdat->split_queue); | ||
5216 | pgdat->split_queue_len = 0; | ||
5217 | #endif | ||
5213 | init_waitqueue_head(&pgdat->kswapd_wait); | 5218 | init_waitqueue_head(&pgdat->kswapd_wait); |
5214 | init_waitqueue_head(&pgdat->pfmemalloc_wait); | 5219 | init_waitqueue_head(&pgdat->pfmemalloc_wait); |
5215 | pgdat_page_ext_init(pgdat); | 5220 | pgdat_page_ext_init(pgdat); |