[PATCH 6/8] ARM i.MX5: Allow to increase max zone order

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Feb 28 05:04:03 EST 2011


On Mon, Feb 28, 2011 at 11:00:27AM +0100, Sascha Hauer wrote:
> default setting of 11 allows us to allocate at maximum
> 2MB chunks of contiguous memory. For resolutions up to
> 1920x1080 32bpp we need much more memory, so make zone
> order configurable

Wouldn't it be better to add another 'default' in there for ARCH_MX5
rather than expecting whoever configures the kernel to be able to work
out the right value?

>  config FORCE_MAX_ZONEORDER
> -	int "Maximum zone order" if ARCH_SHMOBILE
> -	range 11 64 if ARCH_SHMOBILE
> +	int "Maximum zone order" if ARCH_SHMOBILE || ARCH_MX5
> +	range 11 64 if ARCH_SHMOBILE || ARCH_MX5
>  	default "9" if SA1111
>  	default "11"
>  	help



More information about the linux-arm-kernel mailing list