Re: [PATCH 2/2] mm: Make alloc_contig_range handle in-use hugetlb pages

From: Oscar Salvador
Date: Wed Feb 17 2021 - 10:33:06 EST


On 2021-02-17 16:06, Michal Hocko wrote:
I do not follow. You have successfully isolated huge pages so why don't
you add that page to the migratepages list to be migrated?

It is added. Note that I pass de list (cc->migratepages) to isolate_or_dissolve_huge_page().
It is done this way because we have to pass the list to isolate_huge_page() directly.
That is why I jump to isolate_success_no_list instead of isolate_sucess.

I know it is subtle, but I could not come up with a better name at that time.

--
Oscar Salvador
SUSE L3