cvs commit: src/sys/kern vfs_lock.c

Matthew Dillon dillon at
Sun Jun 29 20:58:49 PDT 2008

dillon      2008/06/29 20:57:41 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_lock.c 
  Fix a low-memory deadlock in the VM system which can occur on systems
  with small amounts of system memory.  The pageout daemon uses LK_TIMELOCK
  to avoid deadlocking on a vnode so it can continue operation.  This only
  works if lk_timo is non-zero, but all filesystems initialize their vnodes
  with a timeout of zero so the feature is defeated.  Adjust allocvnode()
  to guarantee that lk_timo is never zero.
  Revision  Changes    Path
  1.30      +8 -0      src/sys/kern/vfs_lock.c

More information about the Commits mailing list