From owner-cvs-all Mon Jan 15 15:42:32 2001 Delivered-To: cvs-all@freebsd.org Received: from netau1.alcanet.com.au (ntp.alcanet.com.au [203.62.196.27]) by hub.freebsd.org (Postfix) with ESMTP id 38F2C37B401; Mon, 15 Jan 2001 15:42:10 -0800 (PST) Received: from mfg1.cim.alcatel.com.au (mfg1.cim.alcatel.com.au [139.188.23.1]) by netau1.alcanet.com.au (8.9.3 (PHNE_22672)/8.9.3) with ESMTP id KAA11911; Tue, 16 Jan 2001 10:42:05 +1100 (EDT) Received: from gsmx07.alcatel.com.au by cim.alcatel.com.au (PMDF V5.2-32 #37645) with ESMTP id <01JYZ0CP8W5SGKU16B@cim.alcatel.com.au>; Tue, 16 Jan 2001 10:42:07 +1100 Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.11.0/8.11.0) id f0FNf4v38720; Tue, 16 Jan 2001 10:41:04 +1100 (EST envelope-from jeremyp) Content-return: prohibited Date: Tue, 16 Jan 2001 10:41:04 +1100 From: Peter Jeremy Subject: Re: cvs commit: src/sys/i386/conf NOTES In-reply-to: ; from bde@zeta.org.au on Mon, Jan 15, 2001 at 09:34:45PM +1100 To: Bruce Evans Cc: Matt Dillon , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Mail-followup-to: Bruce Evans , Matt Dillon , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-id: <20010116104104.J91029@gsmx07.alcatel.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i References: <200101150645.f0F6j3g08834@freefall.freebsd.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2001-Jan-15 21:34:45 +1100, Bruce Evans wrote: >On Sun, 14 Jan 2001, Matt Dillon wrote: > >> dillon 2001/01/14 22:45:03 PST >> >> Modified files: >> sys/i386/conf NOTES >> Log: >> Make NSWAPDEV reasonable so people do not mistakenly use unreasonable >> values when creating custom kernels from LINT. > >LINT is not supposed to have reasonable values. It is supposed to have >values different from the defaults so that unusual values get tested. GENERIC suggests reading NOTES aka LINT for further parameters. Whilst we might want LINT to have an unreasonable but valid value in order to stress that particular part of the LINT kernel, when a user refers to LINT to get a parameter, he normally wants a reasonable value. (In any case, a value different to the default can still be reasonable). In this case, since NSWAPDEV defaults to 4, I'd suggest the NOTES have either 5 or 3. This ensures that any swap code that expects there to be a power-of-2 number of swap devices is exposed. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message