Re: [PATCH v2 1/2] mm/hugetlb: create hstate_is_gigantic_no_runtime helper
From: David Hildenbrand
Date: Mon Oct 13 2025 - 04:04:53 EST
On 09.10.25 19:24, Usama Arif wrote:
This is a common condition used to skip operations that cannot
be performed on gigantic pages when runtime support is disabled.
This helper is introduced as the condition will exist even more
when allowing "overcommit" of gigantic hugepages.
No functional change intended with this patch.
Wondering, would "static" describe that we don't have the dynamic runtime behavior?
hstate_is_static_gigantic()
hstate_is_gigantic_static()
Whatever you prefer
Acked-by: David Hildenbrand <david@xxxxxxxxxx>
--
Cheers
David / dhildenb