Re: [PATCH] mm: show stats for non-default hugepage sizes in /proc/meminfo

Dave Hansen
2017-11-13T19:31:28Z

On 11/13/2017 11:10 AM, Johannes Weiner wrote:
> Maybe a simple summary counter for everything set aside by the hugetlb
> subsystem - default and non-default page sizes, whether they're used
> or only reserved etc.?

Yeah, one line is a lot more sane than 5 lines times all the extra
sizes. It'll just be a matter of bikeshedding the name and whether it
should include the default pages being consumed or not. I vote for:

Hugetlb: "/sysfs FTW!" kB