git: DragonFly_RELEASE_3_0 kernel - Fix improper BUF_UNLOCK() with spinlock held

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Mar 29 16:07:35 PDT 2012


commit 9adb9c718276bcc360d85724c2cb58fabb1cb21e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 27 19:10:14 2012 -0700

    kernel - Fix improper BUF_UNLOCK() with spinlock held
    
    * Fix improper BUF_UNLOCK()s in the buf daemon threads.  Use a
      marker and rearrange the code to release the spinlock before
      executing BUF_UNLOCK().

Summary of changes:
 sys/kern/vfs_bio.c |   95 +++++++++++++++++++++++++++++++++++++++++-----------
 sys/sys/buf.h      |    4 ++-
 2 files changed, 78 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9adb9c718276bcc360d85724c2cb58fabb1cb21e


-- 
DragonFly BSD source repository





More information about the Commits mailing list