DragonFly BSD
DragonFly commits List (threaded) for 2010-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel -- vnlru: Resolve minor race between vnlru_proc_wait and vnlru_proc.


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Dec 2010 10:06:53 -0800 (PST)

commit 1dbcfdac116f8a83f393c4c45d9569c2949f1ae2
Author: Venkatesh Srinivas <me@endeavour.zapto.org>
Date:   Fri Dec 17 09:46:46 2010 -0800

    kernel -- vnlru: Resolve minor race between vnlru_proc_wait and vnlru_proc.
    
    vnlru_proc_wait should have been using tsleep_interlock, not tsleep, to avoid
    missed wakeups from the vnlru process.

Summary of changes:
 sys/kern/vfs_mount.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1dbcfdac116f8a83f393c4c45d9569c2949f1ae2


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]