Subject: Re: making an existing feature optional (Re: CVS commit: src/sys/arch)
To: Hubert Feyrer <hubert@feyrer.de>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 08/06/2005 17:41:46
--JkW1gnuWHDypiMFO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Aug 06, 2005 at 05:33:15PM +0200, Hubert Feyrer wrote:
> On Sat, 6 Aug 2005, Quentin Garnier wrote:
> >I'd go for having the "allow overriding options" part, and then adding
> >"options VMSWAP" to the various std.${ARCH} files, or even better,
> >having them include a conf/std file which would contain
> >"options VMSWAP", and leave room for other stuff (like, say, INET).
>=20
> This sounds good to me - better than introducing additional semantics for=
=20
> options (option, no option, now default option?!).
>=20
> Having sys/conf/std as central file where we put things that are needed b=
y=20
> every kernel may be a bit too generic - e.g. INSTALL config files may=20
> bloat up to basically disable a big set of things again on all ports.=20
> Maybe a std.INSTALL with all the necessary things and a std.GENERIC with=
=20
> the rest? (I'm not sure)
That wasn't what I was implying. conf/std would hold core
functionalities, which is exactly what swap support is: something that
is optional, but wanted in all but very specific situations.
Say that we get another VM system in a way that the user can choose
between UVM and that other VM. conf/std would be the place for "options
UVM".
"options EXEC_ELF" is definitely a candidate for conf/std, too.
--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
--JkW1gnuWHDypiMFO
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iQEVAwUBQvTaOtgoQloHrPnoAQKbHgf8DNh72o/o/1verLiTBz8SYMThUNpKRvFH
JdJQU+JdkVKAgmNqm79InzA7sBRmXy++WRPjfe9lqvBz8r9cNZQglo5eadY5OcBR
ClTc8wV1cBueYjFxp8UT1qpdulaDuf2lVhjDxdDAi1HnV9/va/uXHje7yh5rzPO0
BViuqv7Skj4NLlExWJuIrRx9HTa/Xz/u1HmO4IvxtFMB3ygQ9IK/zVEL/5FZHmxP
8m0bCwBh3yTgSU5T22r/E6Awkp8SJFIl5jO6FnJ2lhGNm2PG2r5V4go2uYwzIgca
WmCkVHP8eQmva4WRuYy5v+BTkGONQe8h1R6GvkMZaHpI+wHVfOPKJg==
=hDLQ
-----END PGP SIGNATURE-----
--JkW1gnuWHDypiMFO--