Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/usr.bin/cmp



   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.


oops, i wasn't clear.  i mean about MAP_SEQUENTIAL not about UBC.


.mrg.



Home | Main Index | Thread Index | Old Index