Re: Note describing poor dcache utilization under high memory pressure
Daniel Phillips (phillips@bonn-fries.net)
Tue, 29 Jan 2002 13:01:56 +0100
On January 29, 2002 12:38 pm, Rik van Riel wrote:
> On Tue, 29 Jan 2002, Daniel Phillips wrote:
>
> > > Either that, or we don't populate the page tables of the
> > > parent and the child at all and have the page tables
> > > filled in at fault time.
> >
> > Yes, you could go that route but you'd have to do some weird and wonderful
> > bookkeeping to figure out how to populate those page tables.
>
> Not really, if the page table isn't present you just check whether
> you need to allocate a new one or whether you need to instantiate
> one.
Since you didn't store it in the parent and you didn't store it in the child,
how are you going to find it? This is my point about the weird and wonderful
bookkeeping, which I managed to avoid entirely.
> That can all be done from within pte_alloc, which is always called
> by handle_mm_fault()...
--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/