Paging Problem
Posted: Mon Dec 19, 2005 12:00 am
Is it necessary to Have the Mapping for the Pages allocated for Page Table itself...
Ok.... let me explain in more detail...
Paging is enabled.... the Kernel as a whole is using one Page Table
Intel 386 Paging is used here....
Now a Process is created by allocating some pages and the Process uses its own Page Table
lets say the size of the process is 200 Bytes....
So one page is suffici....
Now 1 Page for PDE
1 page for PTE
1 page for Process is required
Now is it required to have mapping for first 2 pages allocated for PDE and PTE
in PDE and PTE...? Or is it sufficient to have mapping for 3rd page allocated for process... ?
ofcourse, the process created is not accessing its PDE and PTE in code.... and mapping for
these all pages is present in PDE & PTE of the kernel....
Ok.... let me explain in more detail...
Paging is enabled.... the Kernel as a whole is using one Page Table
Intel 386 Paging is used here....
Now a Process is created by allocating some pages and the Process uses its own Page Table
lets say the size of the process is 200 Bytes....
So one page is suffici....
Now 1 Page for PDE
1 page for PTE
1 page for Process is required
Now is it required to have mapping for first 2 pages allocated for PDE and PTE
in PDE and PTE...? Or is it sufficient to have mapping for 3rd page allocated for process... ?
ofcourse, the process created is not accessing its PDE and PTE in code.... and mapping for
these all pages is present in PDE & PTE of the kernel....