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...
This commit is contained in:
parent
a77c710a25
commit
f3ea971bf0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167933
@ -114,11 +114,7 @@ static int vfs_knllocked(void *arg);
|
|||||||
* Enable Giant pushdown based on whether or not the vm is mpsafe in this
|
* 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.
|
* build. Without mpsafevm the buffer cache can not run Giant free.
|
||||||
*/
|
*/
|
||||||
#if !defined(__powerpc__)
|
|
||||||
int mpsafe_vfs = 1;
|
int mpsafe_vfs = 1;
|
||||||
#else
|
|
||||||
int mpsafe_vfs;
|
|
||||||
#endif
|
|
||||||
TUNABLE_INT("debug.mpsafevfs", &mpsafe_vfs);
|
TUNABLE_INT("debug.mpsafevfs", &mpsafe_vfs);
|
||||||
SYSCTL_INT(_debug, OID_AUTO, mpsafevfs, CTLFLAG_RD, &mpsafe_vfs, 0,
|
SYSCTL_INT(_debug, OID_AUTO, mpsafevfs, CTLFLAG_RD, &mpsafe_vfs, 0,
|
||||||
"MPSAFE VFS");
|
"MPSAFE VFS");
|
||||||
|
Loading…
Reference in New Issue
Block a user