On 06.08.25 10:31, Pankaj Raghav (Samsung) wrote:
On Tue, Aug 05, 2025 at 09:00:40AM -0700, Dave Hansen wrote:
On 8/4/25 05:13, Pankaj Raghav (Samsung) wrote:
Add a config option STATIC_HUGE_ZERO_FOLIO that will always allocate
the huge_zero_folio, and it will never drop the reference.
"static" is a really odd naming choice for a dynamically allocated
structure. It's one that's never freed, sure, but it's still dynamically
allocated in the first place.
That is a fair point.
I like the rename you did to PERSISTENT_HUGE_ZERO_FOLIO instead of
STATIC_HUGE_ZERO_FOLIO as we still allocate it dynamically.
@David, @Lorenzo and @Zi: Does the rename sound good to you?
Yes, sounds good.
--
Cheers,
David / dhildenb