[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4c52bb7e-54c3-3972-8ada-6bb4ae6c36cc@redhat.com>
Date: Fri, 5 Mar 2021 18:30:44 +0100
From: David Hildenbrand <david@...hat.com>
To: Oscar Salvador <osalvador@...e.de>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Mike Kravetz <mike.kravetz@...cle.com>,
Muchun Song <songmuchun@...edance.com>,
Michal Hocko <mhocko@...nel.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] mm: Make alloc_contig_range handle in-use hugetlb
pages
On 22.02.21 14:51, Oscar Salvador wrote:
> alloc_contig_range() will fail if it finds a HugeTLB page within the range,
> without a chance to handle them. Since HugeTLB pages can be migrated as any
> LRU or Movable page, it does not make sense to bail out without trying.
> Enable the interface to recognize in-use HugeTLB pages so we can migrate
> them, and have much better chances to succeed the call.
>
> Signed-off-by: Oscar Salvador <osalvador@...e.de>
LGTM as far as I can tell, I am only wondering if it wouldn't even be
cleaner to squash both patches.
--
Thanks,
David / dhildenb
Powered by blists - more mailing lists