Re: Note describing poor dcache utilization under high memory pressure

From: Rik van Riel (riel@conectiva.com.br)
Date: Tue Jan 29 2002 - 06:38:50 EST


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.

That can all be done from within pte_alloc, which is always called
by handle_mm_fault()...

regards,

Rik

-- 
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

http://www.surriel.com/ http://distro.conectiva.com/

- 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/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:00:59 EST