mm, compaction: introduce kcompactd
[linux-2.6-block.git] / mm / page_alloc.c
index b1fc19ebb8a2ddd29ad6f6c290e4bd205eb4fbb4..25a75da53c2754837c978c21753c6d4f0c46539f 100644 (file)
@@ -5405,6 +5405,9 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 #endif
        init_waitqueue_head(&pgdat->kswapd_wait);
        init_waitqueue_head(&pgdat->pfmemalloc_wait);
+#ifdef CONFIG_COMPACTION
+       init_waitqueue_head(&pgdat->kcompactd_wait);
+#endif
        pgdat_page_ext_init(pgdat);
 
        for (j = 0; j < MAX_NR_ZONES; j++) {