Re: [PATCH v2 0/3] support for broken memory modules (BadRAM)

From: H. Peter Anvin
Date: Wed Jun 22 2011 - 15:07:29 EST


On 06/22/2011 12:01 PM, Nancy Yuen wrote:
>
> Good point. There's the MAX_NODES that expands it, though it's still
> hard coded, and as I understand, intended for NUMA node entries. We
> need anywhere from 8K to 64K 'bad' entries. This creates holes and
> translates to twice as many entries in the e820. We only want to
> allow this memory if it's needed, instead of hard coding it.
>

It should be dynamic, probably. We can waste memory during early
reclaim, but the memblock stuff should be dynamic.

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