Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 29 Jan 2002 06:39:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 29 Jan 2002 06:39:17 -0500 Received: from garrincha.netbank.com.br ([200.203.199.88]:59656 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Tue, 29 Jan 2002 06:39:05 -0500 Date: Tue, 29 Jan 2002 09:38:50 -0200 (BRST) From: Rik van Riel X-X-Sender: To: Daniel Phillips Cc: Oliver Xymoron , Linus Torvalds , Josh MacDonald , linux-kernel , , Subject: Re: Note describing poor dcache utilization under high memory pressure In-Reply-To: Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/