diff options
author | jeff <jeff@FreeBSD.org> | 2005-02-23 10:05:43 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-02-23 10:05:43 +0000 |
commit | d2fecffa39eea996b742a72ed14b73f73cf0217d (patch) | |
tree | 8c7b6734d313394e10edeade07b72088a5e46bb7 /sys/kern/vfs_subr.c | |
parent | 4b4c9adb80f11da18a259f2a3b99e0a3b877c3bd (diff) | |
download | FreeBSD-src-d2fecffa39eea996b742a72ed14b73f73cf0217d.zip FreeBSD-src-d2fecffa39eea996b742a72ed14b73f73cf0217d.tar.gz |
- Enable SMP VFS by default on current. More users are needed to turn up
any remaining bugs. Anyone inconvenienced by this can still disable it
in the loader.
Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 053c385..6eba571 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -98,7 +98,11 @@ static void vholdl(struct vnode *); * Enable Giant pushdown based on whether or not the vm is mpsafe in this * build. Without mpsafevm the buffer cache can not run Giant free. */ -int mpsafe_vfs = 0; +#if defined(__alpha__) || defined(__amd64__) || defined(__i386__) +int mpsafe_vfs = 1; +#else +int mpsafe_vfs; +#endif TUNABLE_INT("debug.mpsafevfs", &mpsafe_vfs); SYSCTL_INT(_debug, OID_AUTO, mpsafevfs, CTLFLAG_RD, &mpsafe_vfs, 0, "MPSAFE VFS"); |