svn commit: r189745 - head/sys/kern
John Baldwin
jhb at FreeBSD.org
Thu Mar 12 10:23:03 PDT 2009
Author: jhb
Date: Thu Mar 12 17:23:02 2009
New Revision: 189745
URL: http://svn.freebsd.org/changeset/base/189745
Log:
Change the sysctls for maxbcache and maxswzone from int to long. I missed
this earlier since these sysctls don't exist in 7.x yet.
Modified:
head/sys/kern/subr_param.c
Modified: head/sys/kern/subr_param.c
==============================================================================
--- head/sys/kern/subr_param.c Thu Mar 12 17:21:58 2009 (r189744)
+++ head/sys/kern/subr_param.c Thu Mar 12 17:23:02 2009 (r189745)
@@ -107,9 +107,9 @@ SYSCTL_INT(_kern, OID_AUTO, nbuf, CTLFLA
"Number of buffer-cache I/O buffers");
SYSCTL_INT(_kern, OID_AUTO, nswbuf, CTLFLAG_RDTUN, &nswbuf, 0,
"Number of swap buffers");
-SYSCTL_INT(_kern, OID_AUTO, maxswzone, CTLFLAG_RDTUN, &maxswzone, 0,
+SYSCTL_LONG(_kern, OID_AUTO, maxswzone, CTLFLAG_RDTUN, &maxswzone, 0,
"max swmeta KVA storage");
-SYSCTL_INT(_kern, OID_AUTO, maxbcache, CTLFLAG_RDTUN, &maxbcache, 0,
+SYSCTL_LONG(_kern, OID_AUTO, maxbcache, CTLFLAG_RDTUN, &maxbcache, 0,
"max buffer cache KVA storage");
SYSCTL_ULONG(_kern, OID_AUTO, maxtsiz, CTLFLAG_RDTUN, &maxtsiz, 0,
"max text size");
More information about the svn-src-head
mailing list