Messages in this thread | | | Date | Sat, 3 Dec 2011 01:54:34 -0500 | Subject | Re: [Provisional Page Table] Why the linear address ranges starting both from 0 and PAGE_OFFSET are mapped to the same physical address range in the provisional page table? | From | Brian Gerst <> |
| |
On Sat, Dec 3, 2011 at 12:27 AM, zhihua che <zhihua.che@gmail.com> 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
| |