CONFIG_FORCE_MAX_ZONEORDER settable for all ARM architectures

Daniel Mack zonque at gmail.com
Fri Nov 5 09:41:10 EDT 2010


Hi,

on a PXA3xx based platform, we want to allocate 8MByte of physically
contiguous memory for the framebuffer device.

However, alloc_pages() fails because MAX_ORDER is hard-coded to 11 for
this architecture.

Is there any reason why CONFIG_FORCE_MAX_ZONEORDER is constrained to
ARCH_SHMOBILE in arch/arm/Kconfig? Would a patch to remove this
limitation be accepted? Or is there any better way to allocate that
amount and type of memory?

Thanks,
Daniel



More information about the linux-arm-kernel mailing list