X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=mm%2Fmigrate.c;h=d68a41da6abb0743d6b09cc49c5c9524463715c3;hb=4098116039911e8870d84c975e2ec22dab65a909;hp=62767155187356d54d1fa7333ad402e76183ca0b;hpb=ccd5d1b91f22351b55feb6fdee504cb84d97752f;p=karo-tx-linux.git diff --git a/mm/migrate.c b/mm/migrate.c index 627671551873..d68a41da6abb 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -1937,12 +1937,6 @@ int migrate_misplaced_transhuge_page(struct mm_struct *mm, put_page(new_page); goto out_fail; } - /* - * We are not sure a pending tlb flush here is for a huge page - * mapping or not. Hence use the tlb range variant - */ - if (mm_tlb_flush_pending(mm)) - flush_tlb_range(vma, mmun_start, mmun_end); /* Prepare a page as a migration target */ __SetPageLocked(new_page);