Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 5 Feb 2002 13:46:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 5 Feb 2002 13:45:55 -0500 Received: from perninha.conectiva.com.br ([200.250.58.156]:2052 "HELO perninha.conectiva.com.br") by vger.kernel.org with SMTP id ; Tue, 5 Feb 2002 13:45:40 -0500 Date: Tue, 5 Feb 2002 16:45:11 -0200 (BRST) From: Rik van Riel X-X-Sender: To: Pavel Machek Cc: Jeff Garzik , , Subject: Re: [PATCH] Radix-tree pagecache for 2.5 In-Reply-To: <20020205142154.D37@toy.ucw.cz> 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, 5 Feb 2002, Pavel Machek wrote: > > > > the biggest reason for this is that we *suck* at readahead for mmap.... > > > > > > Is there not also fault overhead and similar issues related to mmap(2) > > > in general, that are not present with read(2)/write(2)? > > > > If a fault is more expensive than a system call, we're doing > > something wrong in the page fault path ;) > > You can read 128K at a time, but you can't fault 128K... Why not ? If the pages are present (read-ahead) and the page table is present, I see no reason why we couldn't fill in 32 page table entries at once. Rik -- DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ 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/