From 3436aa65049f61a72781bd4880a79d2c079d2974 Mon Sep 17 00:00:00 2001 From: marcel Date: Tue, 27 Mar 2007 05:29:41 +0000 Subject: [PATCH] PowerPC is the only architecture with mpsafe_vfs=0. This is now broken. Rudimentary tests show that PowerPC can run with mpsafe_vfs=1. Make it so... --- sys/kern/vfs_subr.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index cf78d0429d69..bad98282bf44 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -114,11 +114,7 @@ static int vfs_knllocked(void *arg); * 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. */ -#if !defined(__powerpc__) 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");