Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] Memory Add Fixes for ppc64

On Tue, Nov 08, 2005 at 08:12:56AM +1100, Benjamin Herrenschmidt wrote:
> Yes, the MAX_ORDER should be different indeed. But can Kconfig do that ?
> That is have the default value be different based on a Kconfig option ?
> I don't see that ... We may have to do things differently here...

This seems to be done in other parts of the Kconfig file. Using those
as an example, this should keep the MAX_ORDER block size at 16MB.

Signed-off-by: Mike Kravetz <kravetz@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

Mike Kravetz and committed by
Paul Mackerras
02864867 570142ca

+2
+1
arch/powerpc/Kconfig
··· 492 492 config FORCE_MAX_ZONEORDER 493 493 int 494 494 depends on PPC64 495 + default "9" if PPC_64K_PAGES 495 496 default "13" 496 497 497 498 config MATH_EMULATION
+1
arch/ppc64/Kconfig
··· 56 56 # max order + 1 57 57 config FORCE_MAX_ZONEORDER 58 58 int 59 + default "9" if PPC_64K_PAGES 59 60 default "13" 60 61 61 62 source "init/Kconfig"