On 1/11/24 09:32, Ryan Roberts wrote:
...
I have all the information to create a hugetlb-specific set of counters, so its
not lumped in with page cache memory. You would then have counter sets of
"anon", "file" and "htlb". Would that be useful?
Or I could just filter out hugetlb memory so it doesn't appear in this tool at
all? That would be easier implementation-wise, and probably more in line with
the original intention of the tool (it's called thpmaps, after all).
That does seem better. And I spend a fair amount of time explaining to
end users that hugetlbfs != THP, so that would also avoid aggravating that
problem as well.
thanks,
--
John Hubbard
NVIDIA