Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758675AbZD1VnY (ORCPT ); Tue, 28 Apr 2009 17:43:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754728AbZD1VnJ (ORCPT ); Tue, 28 Apr 2009 17:43:09 -0400 Received: from ist.d-labs.de ([213.239.218.44]:48112 "EHLO mx01.d-labs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754465AbZD1VnI (ORCPT ); Tue, 28 Apr 2009 17:43:08 -0400 Date: Tue, 28 Apr 2009 23:43:00 +0200 From: Florian Mickler To: Linus Torvalds Newsgroups: gmane.linux.kernel Cc: Dave Airlie , Tejun Heo , Ingo Molnar , LKML , david@lang.hm Subject: Re: kms in defconfig Message-ID: <20090428234300.4a49d22f@schatten> In-Reply-To: References: <21d7e9970904270121s1c58365bqc8933f8a3ffc5f1a@mail.gmail.com> <20090427083935.GA20941@elte.hu> <21d7e9970904270156v54a6483fs20d5b31c97a1d482@mail.gmail.com> <49F65FA2.4010603@kernel.org> X-Newsreader: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1615 Lines: 47 On Tue, 28 Apr 2009 10:50:14 -0700 (PDT) Linus Torvalds wrote: > > > On Tue, 28 Apr 2009, david@lang.hm wrote: > > I've seen people talk about creating such tools, but the responses > > that I've seen have tended to discourage them. > > I suspect that they'd generally end up handling the easy cases, and > seldom anything more. At which point they're not all that useful. > > Linus perhaps there needs to be an infrastructure where each kconfig-entry-causer can also provide userlevel code to help with that entry? i could imagine a kconfig knob to specify an optional per-kconfig-userspace-helperscript which calculates a new "suggested value" at configure time. this "suggested value" is displayed next to the default value or is then already incorporated in the default value. each maintainer of each kconfig entry a) decides if it is possible to supply such a script b) if it would be useful c) suplies and maintains his (focused on only one kconfig entry) script c) if the script is 100% fool-proof he can say so in the description of the kconfig-entry or just skip the user or notify the user of the result. d) maybe dosn't provide an userspace helper this spreads the burden of the complex detection-code and hopefully eases configuration for everyone where possible. what do others think? sincerely, Florian -- 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/