Date: 21 Jan 1999 22:05:23 -0500 From: "Robert V. Baron" <rvb@cs.cmu.edu> To: Mike Smith <mike@smith.net.au> Cc: Geoff Buckingham <geoffb@demon.net>, freebsd-current@FreeBSD.ORG Subject: Re: KVA/KVM shortages Message-ID: <yzsemoouhvw.fsf@sicily.odyssey.cs.cmu.edu> In-Reply-To: Mike Smith's message of Thu, 21 Jan 1999 13:53:44 -0800 References: <199901212153.NAA11404@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith <mike@smith.net.au> writes: > I just committed a tweak that allows you to say: > > set kern.vm.kmem.size=<value> > > at the loader prompt or in /boot/loader.rc to override the default > VM_KMEM_SIZE value. > > If anyone has any more of these tunables that can easily be enhanced > like this, please let me know. > How about all the parameters that are assigned in param.c? Why not make them all tweakable in the loader.rc, rather than having to patch the kernel. Actually, thinking about this a little more ... The loader knows where all symbols are in memory. Why not a general mechanism to let you reassign the value of any "variable" used in the kernel or in a module. I presume that the loader allocates bss for the kernel and each module as it loads it. So I presume I can assign a value to a variable that would ordinarily take on a 0 value, too. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yzsemoouhvw.fsf>