Re: Does the kernel code run through the MMU and page tables?
- From: "Michael" <armdev@xxxxxxxxxx>
- Date: 14 Nov 2006 16:30:11 -0800
for x86, yes
when the protected mode is set, the MMU works. and all addresses are
required to be translated into physical address, even the kernel. Read
System.map and the link script in arch/i386/kernel/, the answer is
there.
"xu_feng_xu@xxxxxxxxx 写道:
"
Hi,
Does the kernel code run through the MMU and page tables?
My expectation was No as among others there is no need to relocate
dynamically the kernel code and associated data if paging for instance
is used. The kernel code consists of a set of pre known processes that
are loaded in a pre-set area in the memory. If the code runs through
MMU and page tables, this will slow down the kernel code execution.
I read that in the coming 64-bit machine, inverted page table will be
used to do the translation. If
the kernel code is running through the MMU and inverted page table, do
the systems allocate a single "inverted page table" for both user
processes and kernel processes or instead one for each type
thanks
.
- References:
- Does the kernel code run through the MMU and page tables?
- From: xu_feng_xu
- Does the kernel code run through the MMU and page tables?
- Prev by Date: Re: Getting "absolute time" in Linux
- Next by Date: Re: Does the kernel code run through the MMU and page tables?
- Previous by thread: Does the kernel code run through the MMU and page tables?
- Next by thread: Re: Does the kernel code run through the MMU and page tables?
- Index(es):
Relevant Pages
|