lkml.org 
[lkml]   [2008]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.24] mm: BadRAM support for broken memory

* H. Peter Anvin <hpa@zytor.com> 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


\
 
 \ /
  Last update: 2008-03-04 17:51    [W:0.492 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site