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

Colin Cross ccross at google.com
Thu Jul 14 03:58:41 EDT 2011


On Thu, Jul 14, 2011 at 12:34 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> 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.
>

Ok, works for me.



More information about the linux-arm-kernel mailing list