Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 13 Mar 2002 09:58:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 13 Mar 2002 09:58:39 -0500 Received: from garrincha.netbank.com.br ([200.203.199.88]:31756 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Wed, 13 Mar 2002 09:58:21 -0500 Date: Wed, 13 Mar 2002 11:58:08 -0300 (BRT) From: Rik van Riel X-X-Sender: riel@imladris.surriel.com To: Peter Zaitsev Cc: linux-kernel@vger.kernel.org Subject: Re[2]: MMAP vs READ/WRITE In-Reply-To: <971737727409.20020313174814@spylog.ru> 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 Wed, 13 Mar 2002, Peter Zaitsev wrote: > RvR> On Wed, 13 Mar 2002, Peter Zaitsev wrote: > > >> So I would say mmap is not really optimized nowdays in Linux and so > >> read() may be wining in cases it should not. May be read-ahead is > >> used with read and is not used with mmap. > > RvR> Both guesses are correct. > > Would you like to say me with rmap patches the situation should be > different ? That would be a bit premature since this part of the code hasn't been touched by -rmap ;) It is something that still needs fixing, though. regards, Rik -- 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/