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

From: Eric Dumazet
Date: Wed Oct 05 2011 - 12:27:51 EST


Le mercredi 05 octobre 2011 Ã 08:22 -0700, Dave Hansen a Ãcrit :
> On Wed, 2011-10-05 at 09:09 +0200, Eric Dumazet wrote:
> > By the way, "pagesize=4KiB" are just noise if you ask me, thats the
> > default PAGE_SIZE. This also breaks old scripts :)
>
> How does it break old scripts?
>

Old scripts just parse numa_maps, and on typical machines where
hugepages are not used, they dont have to care about page size.
They assume pages are 4KB.

Adding a new word (pagesize=...) might break them, but personally I dont
care.



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