Re: [PATCH 2.6.24] mm: BadRAM support for broken memory

From: Ingo Molnar
Date: Tue Mar 04 2008 - 11:47:58 EST



* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

>>>>
>>> How is this different from:
>>>
>>> memmap=<size>$<len>
>>>
>>> ... ?
>>
>> it's the inverse? When we identify bad areas of RAM, we really want to
>> "punch holes" into the existing memory map. So 'badram=' or 'excludemem='
>> would be nicer and easier to use.
>>
>> Or extend 'memmap=' with an inverse parameter: memmap=!0x10000000$1M would
>> exclude a 1MB region at 256MB physical.
>>
>
> My understanding is that the $-form (as opposed to the @-form or
> #-form) is exactly that:
>
> memmap=nn[KMG]$ss[KMG]
> [KNL,ACPI] Mark specific memory as reserved.
> Region of memory to be used, from ss to ss+nn.
>
> "Reserved" usually means "don't use as either memory or free address
> space".

ah - thanks - didnt know that!

i guess there might still be badram syntax details that might be worth
merging, but "memmap=" looks a lot more complete than what i thought it
to be.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/