Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030543AbWKUAMe (ORCPT ); Mon, 20 Nov 2006 19:12:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S966882AbWKUAMe (ORCPT ); Mon, 20 Nov 2006 19:12:34 -0500 Received: from mailout.stusta.mhn.de ([141.84.69.5]:35086 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S966880AbWKUAMd (ORCPT ); Mon, 20 Nov 2006 19:12:33 -0500 Date: Tue, 21 Nov 2006 01:12:33 +0100 From: Adrian Bunk To: Randy Dunlap Cc: Stefan Richter , Patrick Caulfield , cluster-devel@redhat.com, linux-kernel@vger.kernel.org, David Teigland , Andrew Morton Subject: Re: [PATCH 2.6.19-rc5-mm2] fs/dlm: fix recursive dependency in Kconfig Message-ID: <20061121001233.GC5200@stusta.de> References: <456179F6.1060501@redhat.com> <45619547.5070301@s5r6.in-berlin.de> <20061120174509.GW31879@stusta.de> <20061120153528.5ace6089.randy.dunlap@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061120153528.5ace6089.randy.dunlap@oracle.com> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1875 Lines: 47 On Mon, Nov 20, 2006 at 03:35:28PM -0800, Randy Dunlap wrote: > On Mon, 20 Nov 2006 18:45:09 +0100 Adrian Bunk wrote: > > > On Mon, Nov 20, 2006 at 12:45:11PM +0100, Stefan Richter wrote: > > >... > > > Anyway. Whatever you chose to do (or already have chosen to do) in > > > fs/dlm/Kconfig, keep in mind that the "select" keyword is presently only > > > poorly supported by the various .config generators and that it forces UI > > > considerations into the Kconfig files which should better not be > > > overloaded with UI issues. Or in other words: It is rather easy to write > > > correct and well-supported Kconfig files if you stick with "depend on", > > > but you get into trouble fast with generous usage of "select". > > > > For variables like NET or INET it doesn't matter in practice whether you > > use "select" or "depends on". But for other variables it makes it really > > hard for users to enable an option if you use "depends on". > > Doing a "select" NET or INET enables a ton of code, which IMO > should be done explicitly, not covertly by a select. It seems you misunderstood my statement. Let me try to phrase it differently: A "depends on INET" is no problem for users since virtually everyone has INET enabled. But a "depends on IP_SCTP" or a "depends on I2C_ALGOBIT" is a dependency that might create serious problems for users. > ~Randy cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/