]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/powernv: Set memory_block_size_bytes to 256MB
authorAnton Blanchard <anton@samba.org>
Wed, 4 Jun 2014 07:52:42 +0000 (17:52 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Jun 2014 03:20:40 +0000 (13:20 +1000)
commit6d97d7a28faf19199da12f2512cc7d37dd373cc0
treeb2ac2489e266447524ac31a64837f838cf8fce18
parenta5d862576a64cb3e0c22dc9cc2170e4d750714f9
powerpc/powernv: Set memory_block_size_bytes to 256MB

powerpc sets a low SECTION_SIZE_BITS to accomodate small pseries
boxes. We default to 16MB memory blocks, and boxes with a lot
of memory end up with enormous numbers of sysfs memory nodes.

Set a more reasonable default for powernv of 256MB.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/setup.c