Re: [PATCH 1/1] mm/hugetlb: do not dissolve gigantic pages without runtime support

Muchun Song <[email protected]>
Newsgroups org.kvack.linux-mm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

> On Aug 19, 2026, at 16:52, David Hildenbrand (Arm) <[email protected]> wrote:
> 
> On 8/17/26 18:20, Longlong Xia wrote:
>> From: Longlong Xia <[email protected]>
>> 
>> 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/[email protected]

Muchun,
Thanks.

> 
> -- 
> Cheers,
> 
> David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.