Do OS need page table for itself? Physical address mode.
Posted: Mon Sep 05, 2011 8:36 am
Many books and web links talk about nightmare of kernel using virtual address, like,
http://www.science.unitn.it/~fiorella/g ... ode31.html
But after enabling paging kernel is using all virtual address [it is fact that it knows corresponding physical addresses], OR at least need to be Identity mapped. I am not able to understand about which physical mode they are talking about..
http://www.science.unitn.it/~fiorella/g ... ode31.html
But after enabling paging kernel is using all virtual address [it is fact that it knows corresponding physical addresses], OR at least need to be Identity mapped. I am not able to understand about which physical mode they are talking about..
how can cpu will not make translation after enabling paging? Is paging is disabled in kernel ?It does not make much sense for the operating system itself to run in virtual memory. This would be a nightmare situation where the operating system must maintain page tables for itself. Most multi-purpose CPUs support the notion of a physical address mode as well as a virtual address mode. Physical addressing mode requires no page tables and the CPU does not attempt to perform any address translations in this mode. The Linux kernel is linked to run in physical address space.