cvs commit: src/sys/vm vm_map.c vm_mmap.c

Alan Cox alc at FreeBSD.org
Thu Nov 13 22:55:12 PST 2003


alc         2003/11/13 22:55:11 PST

  FreeBSD src repository

  Modified files:
    sys/vm               vm_map.c vm_mmap.c 
  Log:
  Changes to msync(2)
   - Return EBUSY if the region was wired by mlock(2) and MS_INVALIDATE
     is specified to msync(2).  This is required by the Open Group Base
     Specifications Issue 6.
   - vm_map_sync() doesn't return KERN_FAILURE.  Thus, msync(2) can't
     possibly return EIO.
   - The second major loop in vm_map_sync() handles sub maps.  Thus,
     failing on sub maps in the first major loop isn't necessary.
  
  Revision  Changes    Path
  1.322     +2 -2      src/sys/vm/vm_map.c
  1.172     +2 -2      src/sys/vm/vm_mmap.c


More information about the cvs-src mailing list