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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Mar 2012 16:07:35 -0700 (PDT)

commit 9adb9c718276bcc360d85724c2cb58fabb1cb21e
Author: Matthew Dillon <dillon@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



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