git: kernel - MPSAFE stabilization

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Dec 28 09:18:35 PST 2009


commit b0911300ee0f72264351f0442bd32f63d280bd3a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Dec 28 09:15:25 2009 -0800

    kernel - MPSAFE stabilization
    
    * Fix for 'panic: sysref_activate: bad count 00000002'.  Mistakenly
      assumed the lockmgr lock was sufficient protection but forgot it
      might be acquired LK_SHARED.  Extend v_spinlock protection to fix
      the problem.

Summary of changes:
 sys/kern/kern_sysref.c |    2 ++
 sys/kern/vfs_lock.c    |   11 ++++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list