Re: [PATCH v2] tools/mm: Add thpmaps script to dump THP usage info

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

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux