Re: [Provisional Page Table] Why the linear address ranges startingboth from 0 and PAGE_OFFSET are mapped to the same physical address range inthe provisional page table?

From: Brian Gerst
Date: Sat Dec 03 2011 - 01:54:42 EST


On Sat, Dec 3, 2011 at 12:27 AM, zhihua che <zhihua.che@xxxxxxxxx> wrote:
> Here is another relating question. Why the provisional page table is
> stored at initial_page_table while final page table is store at
> swapper_pg_dir, I think only one page directory table is enough,
> because the two page table are not effective in the same time, it's
> enough to construct the provisional page table at swapper_pg_dir, then
> clear it and construct the final page table. And I find that in the
> previous linux kernel, only swapper_pg_dir is present.

See commits fd89a137924e0710078c3ae855e7cec1c43cb845 and
b40827fa7268fda8a62490728a61c2856f33830b for the explanation of why
they are seperate.

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