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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Mar 2012 19:12:27 -0700 (PDT)

commit a447ba1917b200f4f3977e2f3055f3e2286812ae
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 |   96 ++++++++++++++++++++++++++++++++++++++++-----------
 sys/sys/buf.h      |    4 ++-
 2 files changed, 78 insertions(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a447ba1917b200f4f3977e2f3055f3e2286812ae


-- 
DragonFly BSD source repository



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