kernel - Make swap, nullfs MPSAFE
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Dec 2010 08:40:32 +0000 (00:40 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Dec 2010 08:40:32 +0000 (00:40 -0800)
commit572a7ed95c499105bcdfceb44aee6f2c118a5bf7
tree79a6d2911749b3f1c6f9aa475ed35013128540cb
parent2a9d466332523e6c2d4eb9fd0495ec2f79314658
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.
sys/kern/vfs_mount.c
sys/kern/vfs_vopops.c
sys/vfs/nullfs/null_vfsops.c