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

H. Peter Anvin
2008-03-04T16:31:12Z

Ingo Molnar 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".

-hpa