Subject: Re: cp(1) vs. UVM/UBC
To: Matthias Scheler <>
From: Jason R Thorpe <>
List: tech-userlevel
Date: 07/18/2001 08:27:15
On Tue, Jul 17, 2001 at 09:30:05PM +0000, Matthias Scheler wrote:

 > our cp(1) has code which uses mmap(2) and write(2) instead of read(2) and
 > write(2) to copy files. The mmap(2) implementation is not used because
 > "VM_AND_BUFFER_CACHE_SYNCHRONIZED" is not defined. My question is if
 > VM and buffer cache are synchronized after the integration of UBC?

Yes, except for on LFS -- on LFS, mmap doesn't work right now because
its UBC'ification hasn't been finished yet.

        -- Jason R. Thorpe <>