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

Alan Cox alc at FreeBSD.org
Sun Nov 9 14:09:05 PST 2003


alc         2003/11/09 14:09:04 PST

  FreeBSD src repository

  Modified files:
    sys/vm               vm_map.c vm_mmap.c 
  Log:
   - Remove Giant from msync(2).  Giant is still acquired by the lower layers
     if we drop into the pmap or vnode layers.
   - Migrate the handling of zero-length msync(2)s into vm_map_sync() so that
     multithread applications can't change the map between implementing the
     zero-length hack in msync(2) and reacquiring the map lock in
     vm_map_sync().
  
  Reviewed by:    tegge
  
  Revision  Changes    Path
  1.320     +10 -0     src/sys/vm/vm_map.c
  1.170     +0 -27     src/sys/vm/vm_mmap.c


More information about the cvs-src mailing list