Re: [PATCH 1/1] mm/hugetlb: do not dissolve gigantic pages without runtime support
From: Muchun Song
Date: Thu Aug 20 2026 - 05:39:30 EST
> On Aug 19, 2026, at 16:52, David Hildenbrand (Arm) <david@xxxxxxxxxx> wrote:
>
> On 8/17/26 18:20, Longlong Xia wrote:
>> From: Longlong Xia <xialonglong@xxxxxxxxxx>
>>
>> dissolve_free_hugetlb_folio() doesn't check hstate_is_gigantic_no_runtime(h)
>> though remove_hugetlb_folio()/update_and_free_hugetlb_folio() silently
>> bail for such folios
>
> That's odd. Why do they silently skip such folios instead of warning that
> something unexpected is happening?
>
> This screams for a cleanup unless I am missing something :)
Hi David,
Sashiko actually has a pretty detailed description [1]. So I think it deserves a fix.
[1] https://sashiko.dev/#/patchset/20260814083027.1419487-1-xialonglong2025@xxxxxxx
Muchun,
Thanks.
>
> --
> Cheers,
>
> David