lkml.org 
[lkml]   [2011]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [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
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


\
 
 \ /
  Last update: 2011-12-03 07:57    [W:0.546 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site