Re: [PATCH] hugetlb: /proc/meminfo shows data for all sizes ofhugepages

From: Andi Kleen
Date: Mon Mar 07 2011 - 20:28:07 EST


On Mon, Mar 07, 2011 at 02:05:55PM +0100, Petr Holasek wrote:
> /proc/meminfo file shows data for all used sizes of hugepages
> on system, not only for default hugepage size.

When I wrote that It was intentional to only report the
default page size here. The other page sizes are reported
in sysfs instead.

The reason was to avoid breaking any applications that
read /proc/meminfo today.

I suspect your patch will break them.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/