lkml.org 
[lkml]   [2001]   [Nov]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 20 Nov 2001 14:23:38 -0800
FromAndrew Morton <>
SubjectRe: Swap
"David S. Miller" wrote:
> 
>    From: Rik van Riel <riel@conectiva.com.br>
>    Date: Tue, 20 Nov 2001 20:05:05 -0200 (BRST)
> 
>    Consider this a VM bug, mmap() really should be more efficient.
> 
> read() is always going to be faster until mmap() can
> use large page mappings for the user.  This is why
> mmap() is slower.
> 
> Even if the whole thing is cached in memory, read() will
> always be faster.

Could you please explain further?  What's more expensive
than the copy?
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:13    [W:0.300 / U:0.080 seconds]
©2003-2008 Jasper Spaans