cvs commit: src/sys/kern vfs_subr.c

Konstantin Belousov kib at FreeBSD.org
Wed Dec 5 01:34:05 PST 2007


kib         2007-12-05 09:34:04 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
  Use curthread instead of the FIRST_THREAD_IN_PROC for vnlru and syncer,
  when applicable.
  
  Aquire Giant slightly later for vnlru.
  
  In the syncer, aquire the Giant only when a vnode belongs to the
  non-MPsafe fs.
  
  In both speedup_syncer() and syncer_shutdown(), remove the syncer thread from
  the lbolt sleep queue after the syncer state is modified, not before.
  
  Herded by:      attilio
  Tested by:      Peter Holm
  Reviewed by:    ups
  MFC after:      1 week
  
  Revision  Changes    Path
  1.710     +42 -15    src/sys/kern/vfs_subr.c


More information about the cvs-src mailing list