Re: [PATCH v4] hugetlb: simplify hugetlb handling in follow_page_mask

From: Mike Kravetz
Date: Sun Oct 30 2022 - 19:00:41 EST


On 10/30/22 15:45, Peter Xu wrote:
> On Fri, Oct 28, 2022 at 11:11:08AM -0700, Mike Kravetz wrote:
> > + } else {
> > + if (is_hugetlb_entry_migration(entry)) {
> > + spin_unlock(ptl);
> > + hugetlb_vma_unlock_read(vma);
>
> Just noticed it when pulled the last mm-unstable: this line seems to be a
> left-over of v3, while not needed now?
>
> > + __migration_entry_wait_huge(pte, ptl);
> > + goto retry;
> > + }

Thanks Peter!

Sent v5 with the that line removed.

--
Mike Kravetz