[PATCH] ARM: move memory layout sanity checking before meminfo initialization

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Jul 14 03:34:53 EDT 2011


On Wed, Jul 13, 2011 at 11:52:21PM -0700, Colin Cross wrote:
> On Tue, Jul 5, 2011 at 11:57 AM, Russell King - ARM Linux
> <linux at arm.linux.org.uk> wrote:
> > Ensure that the meminfo array is sanity checked before we pass the
> > memory to memblock.  This helps to ensure that memblock and meminfo
> > agree on the dimensions of memory, especially when more memory is
> > passed than the kernel can deal with.
> >
> > Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
> 
> This patch causes a regression in v3.0-rc7 when overlapping mem=
> options are passed to the kernel.  On an OMAP4 board, I was
> accidentally using "mem=512M mem=920M" on the command line, which
> works fine in v3.0-rc6.

I don't regard that as a regression.  That's something which hasn't
been supported before the move to memblock, and it's not something
that was not intended to be supported.



More information about the linux-arm-kernel mailing list