Re: [PATCH] Radix-tree pagecache for 2.5

Pavel Machek (pavel@suse.cz)
Tue, 5 Feb 2002 14:21:55 +0000


Hi!

> > > 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...
Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

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