Subject: Re: CVS commit: src/usr.bin/cmp
To: matthew green <mrg@eterna.com.au>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 02/07/2005 07:49:04
On Mon, Feb 07, 2005 at 02:42:08PM +1100, matthew green wrote:
>    
>    Also I don't believe that the madvise( MAP_SEQUENTIAL) has the desired
>    effect, and mmaping a large file is probably very bad for the UBC.
> 
> 
> why do you say this?

What you need to avoid is the UBC discarding all its current pages in order
to keep all the mapped, and recently faulted in, pages of the file that you
aren't going to use again in the near future.

	David

-- 
David Laight: david@l8s.co.uk