Re: [RFC][PATCH] show page size in /proc/$pid/numa_maps

From: Dave Hansen
Date: Fri Sep 23 2011 - 11:55:21 EST


On Thu, 2011-09-22 at 13:43 -0700, David Rientjes wrote:
> Why not just add a pagesize={4K,2M,1G,...} field for every output?

I think it's a bit misleading. With THP at least we have 2M pages in
the MMU, but we're reporting in 4k units.

I certainly considered doing just what you're suggesting, though. It's
definitely not a bad idea. Certainly much more clear.

-- Dave

--
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/