From owner-svn-src-all@FreeBSD.ORG Mon Jan 18 10:39:07 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF9031065670; Mon, 18 Jan 2010 10:39:07 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 64C148FC19; Mon, 18 Jan 2010 10:39:07 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 67A1E1FFC22; Mon, 18 Jan 2010 10:39:06 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 246568448A; Mon, 18 Jan 2010 11:39:06 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "M. Warner Losh" References: <20100114.105622.457034909117828677.imp@bsdimp.com> <4B4F7810.2080003@FreeBSD.org> <86625798-F339-4863-8F97-63B5232A6CF7@freebsd.org> <20100114.135930.80200584442733547.imp@bsdimp.com> Date: Mon, 18 Jan 2010 11:39:06 +0100 In-Reply-To: <20100114.135930.80200584442733547.imp@bsdimp.com> (M. Warner Losh's message of "Thu, 14 Jan 2010 13:59:30 -0700 (MST)") Message-ID: <86k4vf66k5.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: dougb@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, rwatson@freebsd.org, freebsd-arch@freebsd.org, svn-src-head@freebsd.org Subject: Re: INCLUDE_CONFIG_FILE in GENERIC X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 10:39:07 -0000 "M. Warner Losh" writes: > [...] I think this > is the model that best fits most user's needs, since they EITHER take > GENERIC and hack on it (in which case we preserve all that), OR they > include GENERIC and opt in/out of things based on that default. The latter is a far better option - I use the former and have been bitten several times by new mandatory devices and options such as device io, scheduler selection, etc. However, the latter option is not very practical. Picking one of my machines at random, its kernel config has 65 device / option lines, while GENERIC has 219, and they only have 51 lines in common. Instead of 65 device / option lines, I would need 168 nodevice / nooption lines plus 14 device / option lines, for a total of 182 lines. > Heck, we could save the whole src/sys tree as a tarball in a separate > non-loadable ELF section if people that that was useful. Ouch. OTOH, the sys tree is actually smaller than a full GENERIC build... Is there any way we could limit this to those parts of the tree that were actually used to build the kernel? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no