Hi Peter! On Sun, Jun 29, 2008 at 10:56 PM, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote: > Thank you Mulyadi for your answer, appreciate very much!!!! You're welcome... > Ah...yes....which means that every process context switch the cr3 will > change. But per-threads inside the process, nothing happened. yes,you got it. > > I can see the pagetable creation per process in kernel/fork.c - > essentially those pgd alloc stuff. Correct? Thanks. IIRC yes..... you must pay attention that COW (Copy On Write) mechanism is applied here, thus PTE is created in "lazy style"....it will be created once write or read happens. As long as the related pages aren't referenced, their PTEs won't be created. Folks....feel free to CMIIW. regards, Mulyadi. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ