Re: [RFC 2/3] mm: add STATIC_PMD_ZERO_PAGE config option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02.06.25 22:28, David Hildenbrand wrote:
On 02.06.25 16:49, Pankaj Raghav wrote:
On 6/2/25 07:03, Christoph Hellwig wrote:
Should this say FOLIO instead of PAGE in the config option to match
the symbol protected by it?

I am still discussing how the final implementation should be with David. But I will
change the _PAGE to _FOLIO as that is what we would like to expose at the end.

It's a huge page, represented internally as a folio. No strong opinion,
as ...

MMF_HUGE_ZERO_PAGE vs. mm_get_huge_zero_folio vs. get_huge_zero_page vs
... :)

Just to add, the existing one is exposed (configurable) to the user through

/sys/kernel/mm/transparent_hugepage/use_zero_page

combined with the implicit size through

/sys/kernel/mm/transparent_hugepage/hpage_pmd_size

--
Cheers,

David / dhildenb





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux