git: kernel - Make swap, nullfs MPSAFE

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Dec 11 00:43:37 PST 2010


commit 572a7ed95c499105bcdfceb44aee6f2c118a5bf7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Dec 11 00:40:32 2010 -0800

    kernel - Make swap, nullfs MPSAFE
    
    * Mark the swap dummy mount as being MPSAFE so strategy operations do not
      acquire the mplock.
    
    * Mark NULLFS mounts as being MPSAFE so operations do not acquire the
      mplock.  If the underlying VFS is not MPSAFE it will still acquire
      the mplock.

Summary of changes:
 sys/kern/vfs_mount.c         |    1 +
 sys/kern/vfs_vopops.c        |    1 -
 sys/vfs/nullfs/null_vfsops.c |    8 ++++++--
 3 files changed, 7 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/572a7ed95c499105bcdfceb44aee6f2c118a5bf7


-- 
DragonFly BSD source repository





More information about the Commits mailing list