git: DragonFly_RELEASE_3_6 kernel - Fix lockmgr LK_UPGRADE bug

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Nov 8 20:54:06 PST 2013


commit 0fb9b16adf358298a3d1de615b97a3cf9b43eb82
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/0fb9b16adf358298a3d1de615b97a3cf9b43eb82


-- 
DragonFly BSD source repository


More information about the Commits mailing list