git: kernel - Fix lockmgr LK_UPGRADE bug
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Nov 8 20:48:36 PST 2013
commit 6ebd652fc20d94dea78fdb5859a25607ffb66683
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Nov 8 20:46:43 2013 -0800
kernel - Fix lockmgr LK_UPGRADE bug
* Fix a bug in the LK_UPGRADE sequencing. If an LKC_UPREQ owner is present
and releasing the shared lock would release the lock, the UPREQ owner must
be granted the exclusive lock right then and there.
Summary of changes:
sys/kern/kern_lock.c | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6ebd652fc20d94dea78fdb5859a25607ffb66683
--
DragonFly BSD source repository
More information about the Commits
mailing list