aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 8b20ab7d3aa2..296ea308096d 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -821,6 +821,9 @@ struct mm_struct *dup_mm(struct task_struct *tsk)
821#ifdef CONFIG_TRANSPARENT_HUGEPAGE 821#ifdef CONFIG_TRANSPARENT_HUGEPAGE
822 mm->pmd_huge_pte = NULL; 822 mm->pmd_huge_pte = NULL;
823#endif 823#endif
824#ifdef CONFIG_NUMA_BALANCING
825 mm->first_nid = NUMA_PTE_SCAN_INIT;
826#endif
824 if (!mm_init(mm, tsk)) 827 if (!mm_init(mm, tsk))
825 goto fail_nomem; 828 goto fail_nomem;
826 829