Date: Sat, 04 Nov 2006 13:00:00 -0800 From: Sam Leffler <sam@errno.com> To: John Birrell <jb@what-creek.com> Cc: cvs-src@FreeBSD.org, John Birrell <jb@FreeBSD.org>, cvs-all@FreeBSD.org, "Simon L. Nielsen" <simon@FreeBSD.org>, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/conf DEFAULTS src/sys/i386/conf DEFAULTS src/sys/ia64/conf DEFAULTS src/sys/pc98/conf DEFAULTS src/sys/powerpc/conf DEFAULTS src/sys/sparc64/conf DEFAULTS src/sys/sparc64/sparc64 machdep.c src/sys/sun4v/conf DEFAULTS Message-ID: <454CFF50.8010708@errno.com> In-Reply-To: <20061104203150.GB2027@what-creek.com> References: <200611040458.kA44wAKN097086@repoman.freebsd.org> <20061104091155.GA12770@zaphod.nitro.dk> <20061104203150.GB2027@what-creek.com>
next in thread | previous in thread | raw e-mail | index | archive | help
John Birrell wrote: > On Sat, Nov 04, 2006 at 10:11:56AM +0100, Simon L. Nielsen wrote: >> Why isn't it just in GENERIC so people can easily disable it if they >> like? I thought DEFAULTS was just meant for things which caused users >> pain (and people answering support mails...) if they accidentally >> missed the option? I don't really see DTrace falling in that >> category. > > I added it to DEFAULTS so that it would be available automatically for > people who didn't know that they want it. 8-) > > Adding it to GENERIC doesn't cover the people who have their own > kernel configs. And they can still disable it in GENERIC or whatever > config they are using just as easily as they could add it. > > The point is that there is negligible run-time impact and only a > small increase in code size to have it enabled. Remember it's only > the hooks and a few support functions. The guts of DTrace is in the > 'dtrace' kernel module (and the associated providers) which still > have to be loaded as modules. Like he said, this is contrary to the purpose of DEFAULTS. You are forcing policy on people. Please put it in GENERIC where it belongs. Sam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?454CFF50.8010708>