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

From: H. Peter Anvin
Date: Tue Mar 04 2008 - 11:31:13 EST


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
--
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/