summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-09-26 19:35:04 +0000
committerdillon <dillon@FreeBSD.org>2001-09-26 19:35:04 +0000
commitc77ea66d88e302653223c83b6cd07fb3bdcd1b15 (patch)
treed754d1f58679b29570f3dbfb1b75e316261dc200
parentf1bb635905c19ef85aaed0a1f2ced18b2b26133e (diff)
downloadFreeBSD-src-c77ea66d88e302653223c83b6cd07fb3bdcd1b15.zip
FreeBSD-src-c77ea66d88e302653223c83b6cd07fb3bdcd1b15.tar.gz
Enable vmiodirenable by default. Remove incorrect comment from sysctl.conf.
MFC after: 1 week
-rw-r--r--etc/sysctl.conf6
-rw-r--r--sys/kern/vfs_bio.c2
2 files changed, 1 insertions, 7 deletions
diff --git a/etc/sysctl.conf b/etc/sysctl.conf
index 2fa486f..398ce27 100644
--- a/etc/sysctl.conf
+++ b/etc/sysctl.conf
@@ -4,9 +4,3 @@
# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#
-#vfs.vmiodirenable=0 # Set to 1 to enable the use of the VM subsystem to
- # back UFS directory memory requirements. Because of
- # the amount of wasted memory this causes it's not
- # advised for machines with less than 64MB of RAM, but
- # on machines with more than 64MB it can provide a
- # substantial benefit related to directory caching.
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 39e09b3..f2a78bd 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -90,7 +90,7 @@ static void buf_daemon __P((void));
* but the code is intricate enough already.
*/
vm_page_t bogus_page;
-int vmiodirenable = FALSE;
+int vmiodirenable = TRUE;
int runningbufspace;
static vm_offset_t bogus_offset;
OpenPOWER on IntegriCloud