> -----Original Message----- > From: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> > Sent: Wednesday, November 9, 2022 16:40 > To: akpm@xxxxxxxxxxxxxxxxxxxx > Cc: Wang, Haiyue <haiyue.wang@xxxxxxxxx>; Huang, Ying <ying.huang@xxxxxxxxx>; mike.kravetz@xxxxxxxxxx; > songmuchun@xxxxxxxxxxxxx; baolin.wang@xxxxxxxxxxxxxxxxx; linux-mm@xxxxxxxxx; linux- > kernel@xxxxxxxxxxxxxxx > Subject: [PATCH] Revert "mm: migration: fix the FOLL_GET failure on following huge page" > > Revert commit 831568214883 ("mm: migration: fix the FOLL_GET failure on > following huge page"), since after commit 1a6baaa0db73 ("s390/hugetlb: > switch to generic version of follow_huge_pud()") and commit 57a196a58421 > ("hugetlb: simplify hugetlb handling in follow_page_mask") were merged, > now all the following huge page routines can support FOLL_GET operation. > > Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> > --- Cool, thanks, my ugly code is gone. ;-) Acked-by: Haiyue Wang <haiyue.wang@xxxxxxxxx> > mm/migrate.c | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) > > -- > 1.8.3.1