Date: Tue, 05 Feb 2002 18:55:36 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: "M. Warner Losh" <imp@village.org> Cc: cjclark@alum.mit.edu, cristjc@earthlink.net, mike@FreeBSD.ORG, freebsd-arch@FreeBSD.ORG Subject: Re: Setting sysctl(8)'s in rc.conf Message-ID: <3C609B28.4B040672@mindspring.com> References: <20020205015412.H6496@espresso.q9media.com> <20020205.085412.88169750.imp@village.org> <20020205121345.B368@gohan.cjclark.org> <20020205.135658.102576700.imp@village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"M. Warner Losh" wrote: > In message: <20020205121345.B368@gohan.cjclark.org> > "Crist J. Clark" <cristjc@earthlink.net> writes: > : Perhaps a better approach would be to put them all in > : /etc/sysctl.conf, but change /etc/sysctl.conf's format to support > : grouping different variables to be loaded at different times > : (maintaining back-compatibility of course). > > No. > > A better approach would be to make those items that are sysctls in > modules also TUNABLES, and then the problem goes away. Will this let them be set before load? There's a bad assumption in tunables, that they may be tuned after boot time, which is not true for things like sizes of zalloci() zones, which must be contiguous, and whose size prevents reallocation, and whose use before reallocation would lead to fragmentation. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C609B28.4B040672>