Re: Kernel code and processor's Cache
- From: Phil Carmody <thefatphil_demunged@xxxxxxxxxxx>
- Date: Mon, 12 Apr 2010 09:51:03 +0300
David Schwartz <davids@xxxxxxxxxxxxx> writes:
On Apr 11, 2:55 pm, Phil Carmody <thefatphil_demun...@xxxxxxxxxxx>
wrote:
David Schwartz <dav...@xxxxxxxxxxxxx> writes:
Sometimes, but not always. Consider a page fault for an mmap'ed file.
But that would be mapped into the user address space, and wouldn't
be cached in the kernel-specific cache?
That page would *also* be mapped into user address space (with one or
more additional mappings), but so what? How would the cache logic know
whether the next access was going to come from the kernel or user
space.
How does cache logic know if the next read from a page will be an
instruction fetch or a data read? There's nothing new about having
multiple different caches for different purposes on a system.
Phil
--
I find the easiest thing to do is to k/f myself and just troll away
-- David Melville on r.a.s.f1
.
- Follow-Ups:
- Re: Kernel code and processor's Cache
- From: Jerry Peters
- Re: Kernel code and processor's Cache
- From: David Schwartz
- Re: Kernel code and processor's Cache
- References:
- Kernel code and processor's Cache
- From: feng
- Re: Kernel code and processor's Cache
- From: feng
- Re: Kernel code and processor's Cache
- From: David Schwartz
- Re: Kernel code and processor's Cache
- From: feng
- Re: Kernel code and processor's Cache
- From: feng
- Re: Kernel code and processor's Cache
- From: David Schwartz
- Re: Kernel code and processor's Cache
- From: feng
- Re: Kernel code and processor's Cache
- From: David Schwartz
- Re: Kernel code and processor's Cache
- From: feng
- Re: Kernel code and processor's Cache
- From: David Schwartz
- Re: Kernel code and processor's Cache
- From: Phil Carmody
- Re: Kernel code and processor's Cache
- From: David Schwartz
- Re: Kernel code and processor's Cache
- From: Phil Carmody
- Re: Kernel code and processor's Cache
- From: David Schwartz
- Kernel code and processor's Cache
- Prev by Date: Re: Kernel code and processor's Cache
- Next by Date: Re: Kernel code and processor's Cache
- Previous by thread: Re: Kernel code and processor's Cache
- Next by thread: Re: Kernel code and processor's Cache
- Index(es):
Relevant Pages
|