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

git: kernel - Make swap, nullfs MPSAFE


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 11 Dec 2010 00:41:56 -0800 (PST)

commit 572a7ed95c499105bcdfceb44aee6f2c118a5bf7
Author: Matthew Dillon <dillon@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



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