Thread (22 messages) 22 messages, 6 authors, 2025-08-18

Re: [PATCH v3 0/5] add persistent huge zero folio support

From: David Hildenbrand <hidden>
Date: 2025-08-11 10:21:32
Also in: linux-fsdevel, linux-mm, lkml

On 11.08.25 12:17, Kiryl Shutsemau wrote:
On Mon, Aug 11, 2025 at 11:09:24AM +0100, Lorenzo Stoakes wrote:
quoted
On Mon, Aug 11, 2025 at 11:07:48AM +0100, Kiryl Shutsemau wrote:
quoted
Well, my worry is that 2M can be a high tax for smaller machines.
Compile-time might be cleaner, but it has downsides.

It is also not clear if these users actually need physical HZP or virtual
is enough. Virtual is cheap.
The kernel config flag (default =N) literally says don't use unless you
have plenty of memory :)

So this isn't an issue.
Distros use one-config-fits-all approach. Default N doesn't help
anything.
You'd probably want a way to say "use the persistent huge zero folio if 
you machine has more than X Gigs". That's all reasonable stuff that can 
be had on top of this series.

-- 
Cheers,

David / dhildenb
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help