Re: "x86-64, mm: Put early page table high" causes crash on Xen

From: Yinghai Lu
Date: Tue Mar 08 2011 - 11:39:11 EST


On Tue, Mar 8, 2011 at 4:14 AM, Stefano Stabellini
<stefano.stabellini@xxxxxxxxxxxxx> wrote:
>> > [    0.000000] DEBUG alloc low page(cf965000, 00001000)
>>
>> these are not mapped yet, and need to use early_ioremap.
>
> In fact we are mapping them inside alloc_low_page. No need for
> map_low_page, right?

alloc_low_page return virtual address, but it can not be used to
access that position right away.
so in that case map_low_page is used to convert that virtual address
to phy address and then to early map address.

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