Re: [PATCH v2] hugetlb: freeze allocated pages before creating hugetlb pages

From: Oscar Salvador
Date: Tue Sep 20 2022 - 23:54:25 EST


On Tue, Sep 20, 2022 at 10:10:29AM -0700, Mike Kravetz wrote:
> Hi Oscar, thanks for taking a look.
>
> I think you may have missed something in the above comment. For gigantic
> pages, we only freeze pages if NOT demote. In the demote case, pages are
> already frozen.

Yeah.
It got me confused that the link you posted
(https://lore.kernel.org/linux-mm/20210622021423.154662-3-mike.kravetz@xxxxxxxxxx/)
seemed like an earlier version of what it got into upstream,
and in there there was "demotion" handling.

Having checked the tree it all looks sound.

I will wait for v3.

Thanks Mike!


--
Oscar Salvador
SUSE Labs