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

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Fri Dec 17 10:08:34 PST 2010


commit 1dbcfdac116f8a83f393c4c45d9569c2949f1ae2
Author: Venkatesh Srinivas <me at 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





More information about the Commits mailing list