Re: [PATCH] mm,hugetlb: Allocate frozen pages in alloc_buddy_hugetlb_folio

From: Oscar Salvador
Date: Sun Apr 13 2025 - 14:51:06 EST


On Fri, Apr 11, 2025 at 03:21:42PM +0100, Matthew Wilcox wrote:
> Oscar, if you want to take on the gigantic allocation next ...
>
> - I don't think we need folio_alloc_gigantic() to be wrapped in
> alloc_hooks
> - folio_alloc_gigantic() should return a frozen folio
> - as should hugetlb_cma_alloc_folio()

Yeah, I was taking a look at that as well.
I plan to tackle it in a few days.


--
Oscar Salvador
SUSE Labs