Re: [PATCH 1/2] powerpc: add hugepagesz boot-time parameter

Arnd Bergmann
2007-11-28T07:26:46Z

On Wednesday 28 November 2007, Jon Tollefson wrote:
> This patch adds the hugepagesz boot-time parameter for ppc64 that lets
> you pick the size for your huge pages. The choices available are 64K
> and 16M. It defaults to 16M (previously the only choice) if nothing or
> an invalid choice is specified. Tested 64K huge pages with the
> libhugetlbfs 1.2 release with its 'make func' and 'make stress' test
> invocations.

How hard would it be to add the 1MB page size that some CPUs support
as well? On systems with small physical memory like the PS3, that
sounds very useful to me.