git: kernel - misc MPSAFe work

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Dec 20 00:24:26 PST 2009


commit 61f96b6ff60acbd1692d0bffe07b5e1f262327dc
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Dec 19 22:18:37 2009 -0800

    kernel - misc MPSAFe work
    
    * prisoncount, prison_hold(), and prison_free() are now MPSAFE
    
    * Remove spinlock from ucred
    
    * Fix cr_ref race in crfree(), and crfree() is now fully MPSAFE.
    
    * cache_hold(), cache_copy(), cache_changemount() are now MPSAFE.
    
    * cache_drop() is not yet MPSAFE in the 1->0 transition case.
    
    * nlookup_init() is now MPSAFE

Summary of changes:
 sys/kern/kern_jail.c     |   33 ++++++++++++++++++++++++++-------
 sys/kern/kern_prot.c     |   16 ++++++----------
 sys/kern/kern_resource.c |    5 ++---
 sys/kern/vfs_cache.c     |   37 +++++++++++++++++++++++++------------
 sys/kern/vfs_nlookup.c   |    2 ++
 sys/sys/ucred.h          |    1 -
 6 files changed, 61 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/61f96b6ff60acbd1692d0bffe07b5e1f262327dc


-- 
DragonFly BSD source repository





More information about the Commits mailing list