Hi,
I am new to Linux MM. Can someone answer my following questions?
1> Where is the process page table(mm->pgd) stored? Is it stored below PAGE_OFFSET ? If yes, then wouldn't there
be a chance of the page tables getting accidentally corrupted by the user process as it is in the user address space?
2> What will happen if the page containing the process page table(mm->pgd) is swapped on the disk and the process is scheduled for execution ?
As the page pointed to by the cr3 itself is not in memory, how will the MMU handle this case?
Thanks,
Rahul