Re: [PATCH 3/5] x86: Only direct map addresses that are marked asE820_RAM

From: H. Peter Anvin
Date: Fri Aug 24 2012 - 21:13:54 EST


On 08/24/2012 05:49 PM, Jacob Shin wrote:
>
> Right, I think what I was attempting to do was to merge the 1MB
> with E820_RAM right above 1MB:
>
> So instead of:
>
> init_memory_mapping(0, 1MB)
> init_memory_mapping(1MB, 2GB)
>
> It would be:
>
> init_memory_mapping(0, 2GB)
>
> While taking care of the odd case where there is a gap right after
> 1MB.
>
> But if its not worth it, I can move it out of the loop.
>

What is the benefit?

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