DragonFly commits List (threaded) for 2008-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern vfs_lock.c
dillon 2008/06/29 20:57:41 PDT
DragonFly src repository
Modified files:
sys/kern vfs_lock.c
Log:
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
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_lock.c.diff?r1=1.29&r2=1.30&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]