mm, compaction: capture a page under direct compaction
[linux-2.6-microblaze.git] / kernel / sched / core.c
index 7cbb565..916e956 100644 (file)
@@ -2190,6 +2190,9 @@ static void __sched_fork(unsigned long clone_flags, struct task_struct *p)
        INIT_HLIST_HEAD(&p->preempt_notifiers);
 #endif
 
+#ifdef CONFIG_COMPACTION
+       p->capture_control = NULL;
+#endif
        init_numa_balancing(clone_flags, p);
 }