diff options
author | dillon <dillon@FreeBSD.org> | 2001-09-26 19:35:04 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-09-26 19:35:04 +0000 |
commit | c77ea66d88e302653223c83b6cd07fb3bdcd1b15 (patch) | |
tree | d754d1f58679b29570f3dbfb1b75e316261dc200 | |
parent | f1bb635905c19ef85aaed0a1f2ced18b2b26133e (diff) | |
download | FreeBSD-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.conf | 6 | ||||
-rw-r--r-- | sys/kern/vfs_bio.c | 2 |
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; |