From owner-freebsd-current Thu Jan 21 23:08:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA01360 for freebsd-current-outgoing; Thu, 21 Jan 1999 23:08:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from sicily.odyssey.cs.cmu.edu (SICILY.ODYSSEY.CS.CMU.EDU [128.2.185.138]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA01352 for ; Thu, 21 Jan 1999 23:08:07 -0800 (PST) (envelope-from rvb+@sicily.odyssey.cs.cmu.edu) To: Mike Smith Cc: Geoff Buckingham , freebsd-current@FreeBSD.ORG Subject: Re: KVA/KVM shortages References: <199901212153.NAA11404@dingo.cdrom.com> From: "Robert V. Baron" Date: 21 Jan 1999 22:05:23 -0500 In-Reply-To: Mike Smith's message of Thu, 21 Jan 1999 13:53:44 -0800 Message-ID: Lines: 23 X-Mailer: Gnus v5.4.46/Emacs 19.34 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith writes: > I just committed a tweak that allows you to say: > > set kern.vm.kmem.size= > > 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