Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2010 11:39:06 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        "M. Warner Losh" <imp@bsdimp.com>
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
Message-ID:  <86k4vf66k5.fsf@ds4.des.no>
In-Reply-To: <20100114.135930.80200584442733547.imp@bsdimp.com> (M. Warner Losh's message of "Thu, 14 Jan 2010 13:59:30 -0700 (MST)")
References:  <20100114.105622.457034909117828677.imp@bsdimp.com> <4B4F7810.2080003@FreeBSD.org> <86625798-F339-4863-8F97-63B5232A6CF7@freebsd.org> <20100114.135930.80200584442733547.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"M. Warner Losh" <imp@bsdimp.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k4vf66k5.fsf>