Re: [PATCH v11 00/15] khugepaged: mTHP support
From: David Hildenbrand <hidden>
Date: 2025-09-15 10:44:41
Also in:
linux-doc, linux-mm, lkml
From: David Hildenbrand <hidden>
Date: 2025-09-15 10:44:41
Also in:
linux-doc, linux-mm, lkml
quoted
quoted
Mapping that to actual THP sizes (#pages in a thp) on an arch will be easy.And at different mTHP levels too right?Another point here, since we have to keep: /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none Around, and users will try to set values there, presumably we will now add: /sys/kernel/mm/transparent_hugepage/khugepaged/eagerness How will we map <-> the two tunables?
Well, the easy case if someone updates eagerness, then we simply et it to whatever magic value we compute and document. The other direction is more problematic, likely we'll simply warn and do something reasonable (map it to whatever eagerness scale is closest or simply indicate it as "-1" -- user intervened or sth like that) -- Cheers David / dhildenb