From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Kravetz Date: Sun, 30 Oct 2022 22:54:04 +0000 Subject: Re: [PATCH v4] hugetlb: simplify hugetlb handling in follow_page_mask Message-Id: List-Id: References: <20221028181108.119432-1-mike.kravetz@oracle.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Peter Xu Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-ia64@vger.kernel.org, Baolin Wang , Christophe Leroy , David Hildenbrand , "Aneesh Kumar K . V" , Naoya Horiguchi , Michael Ellerman , Muchun Song , Andrew Morton 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