Re: [PATCH] [6/8] Account overlapped mappings in end_pfn_map

From: Arjan van de Ven
Date: Mon Feb 11 2008 - 10:13:38 EST


On Mon, 11 Feb 2008 10:34:34 +0100 (CET)
Andi Kleen <ak@xxxxxxx> wrote:

>
> When end_pfn is not aligned to 2MB (or 1GB) then the kernel might
> map more memory than end_pfn. Account this in end_pfn_mapped.

we need to fix this btw; mapping memory that doesn't really exist
is a rather nasty trap with cpu prefetching and the like.


--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/