In Linux OS, after enable page table, kernel will only map PTEs belong to kernel space once and never remap them again ? This action is opposite with PTEs in user space, which need to remap every time process switch happening ?
So, I want know the difference in management of PTEs in kernel and user space.
This question is a extended part from the question at: Page table in Linux kernel space during boot
Regards,
Thang Le
PGD
, butPTE
values maybe shared between processes, so large chunks of memory can be mapped the same for each process; only the top-level directory (CR3 on x86, per CL) is updated. – artless noise