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

From: Dave Hansen
Date: Mon Nov 13 2017 - 14:31:30 EST


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