X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=mm%2Fhuge_memory.c;h=9c0b17295ba039da0b7e9cc1fb852822ba46172c;hb=0f74d82d80e653545f4190c96a25f3b6751a8370;hp=7de1bf85f6833422e16161445b71e328fad2e1f6;hpb=bfde19c4c2467cbcb5c11ec0fdaa771b8c16cbce;p=deliverable%2Flinux.git 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, goto out_unlock; } - /* mmap_sem prevents this happening but warn if that changes */ - WARN_ON(pmd_trans_migrating(pmd)); - if (unlikely(pmd_trans_splitting(pmd))) { /* split huge page running from under us */ spin_unlock(src_ptl);