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

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 27 19:12:27 PDT 2012


commit a447ba1917b200f4f3977e2f3055f3e2286812ae
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 |   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





More information about the Commits mailing list