Re: [PATCh] x86: overmapped fix when 4K pages on tail - 64bit

From: Ingo Molnar
Date: Thu Jul 10 2008 - 02:53:42 EST



* Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:

> fix phys_pmd_init to make sure not to return big value than end.
>
> also print out range split:1G/2M/4K

applied to tip/x86/core, thanks Yinghai. Lets hope it all goes well,
this is a rather scary change - but it's also fairly clean.

perhaps add a comment to the limit of 5 of mapping ranges - to point out
that the number of mapping ranges depends on our programming, not on any
external factor. I.e. if anyone adds a new mapping range to the kernel
for any purpose, it must be extended - but otherwise it cannot run out
due to new hardware.

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