On Wed, Mar 17, 2021 at 11:05:23AM +0100, Oscar Salvador wrote: > From e97175b7d4970cbdcbafcf8c398f72a571e817b0 Mon Sep 17 00:00:00 2001 > From: Oscar Salvador <osalvador@xxxxxxx> > Date: Thu, 18 Mar 2021 05:03:18 +0100 > Subject: [PATCH] mm,page_alloc: Drop unnecesary checks from > pfn_range_valid_contig > > pfn_range_valid_contig() bails out when it finds an in-use page or a > hugetlb page, among other things. > We can drop the in-use page check since __alloc_contig_pages can migrate > away those pages, and the hugetlb page check can go too since > isolate_migratepages_range is now capable of dealing with hugetlb pages. > > Signed-off-by: Oscar Salvador <osalvador@xxxxxxx> Of course, missing a Suggested-by: David Hildenbrand <david@xxxxxxxxxx> -- Oscar Salvador SUSE L3