diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/huge_memory.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 7de1bf85f683..9c0b17295ba0 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c | |||
@@ -883,9 +883,6 @@ int copy_huge_pmd(struct mm_struct *dst_mm, struct mm_struct *src_mm, | |||
883 | goto out_unlock; | 883 | goto out_unlock; |
884 | } | 884 | } |
885 | 885 | ||
886 | /* mmap_sem prevents this happening but warn if that changes */ | ||
887 | WARN_ON(pmd_trans_migrating(pmd)); | ||
888 | |||
889 | if (unlikely(pmd_trans_splitting(pmd))) { | 886 | if (unlikely(pmd_trans_splitting(pmd))) { |
890 | /* split huge page running from under us */ | 887 | /* split huge page running from under us */ |
891 | spin_unlock(src_ptl); | 888 | spin_unlock(src_ptl); |