Question on Page Tables
Posted: Thu Jul 13, 2006 12:55 am
Hi, all
Sorry if my questions appears too naive. ;D I am just ramping up on OS dev after years of Bios development.
I came across the following paragraphs while reading IA32 Manual Vol3 Chap 3:
"Memory management software has the option of using one page directory for all programs and tasks, one page directory for each task, or some combination of the two."
I have also heard some others saying that sharing page directory can remove the overhead of hardware switching & TLB flushing. But I doubt how an os adopting this policy could ever protect one process's memory space from being trespassing by another process now that the latter could see the former's pages too.
Can anyone help? Thanks in advance.
Best regards,
Cody
Sorry if my questions appears too naive. ;D I am just ramping up on OS dev after years of Bios development.
I came across the following paragraphs while reading IA32 Manual Vol3 Chap 3:
"Memory management software has the option of using one page directory for all programs and tasks, one page directory for each task, or some combination of the two."
I have also heard some others saying that sharing page directory can remove the overhead of hardware switching & TLB flushing. But I doubt how an os adopting this policy could ever protect one process's memory space from being trespassing by another process now that the latter could see the former's pages too.
Can anyone help? Thanks in advance.
Best regards,
Cody