cvs commit: src/sys/kern vfs_subr.c

Ed Schouten ed at
Wed Jul 30 18:19:39 UTC 2008

ed          2008-07-30 12:39:18 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
  SVN rev 180995 on 2008-07-30 12:39:18Z by ed
  Remove the use of lbolt from the VFS syncer.
  It seems we only use `lbolt' inside the VFS syncer and the TTY layer
  now.  Because I'm planning to replace the TTY layer next month, there's
  no reason to keep `lbolt' if it's only used in a single thread inside
  the kernel.
  Because the syncer code wanted to wake up the syncer thread before the
  timeout, it called sleepq_remove(). Because we now just use a condvar(9)
  with a timeout value of `hz', we can wake it up using cv_broadcast()
  without waking up any unrelated threads.
  Reviewed by:    phk
  Revision  Changes    Path
  1.736     +7 -9      src/sys/kern/vfs_subr.c

More information about the cvs-src mailing list