From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932184AbZHUJTi (ORCPT ); Fri, 21 Aug 2009 05:19:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755174AbZHUJTi (ORCPT ); Fri, 21 Aug 2009 05:19:38 -0400 Received: from rv-out-0506.google.com ([209.85.198.225]:37137 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755153AbZHUJTh (ORCPT ); Fri, 21 Aug 2009 05:19:37 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=uoN92NWZbv8eQJSvuaI3KcUTDe+tsGgECfS1H6KlVcRzTvX4+Ks1DTwcykAagCuOvd t+1pKsp2SxJqn8CLsprerZWYlwftmfD74d43/Kim5Nh4lMh8TFBegaAs5n4HuICZj0ky ++yzF2NvVO3Yq214vEoKkdo62ynVs5eqMc3uc= Date: Fri, 21 Aug 2009 17:21:49 +0800 From: Amerigo Wang To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Thomas Gleixner , Peter Zijlstra , Linus Torvalds , Theodore Tso , Arjan van de Ven , Greg KH , "Luis R. Rodriguez" , zippel@linux-m68k.org, linux-kbuild@vger.kernel.org, Sam Ravnborg , Jonathan Corbet , Alan Jenkins , Andi Kleen Subject: Re: [PATCH 00/14] kconfig: streamline distro configs for testers Message-ID: <20090821092149.GA5102@cr0.nay.redhat.com> References: <20090819025634.987354707@goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090819025634.987354707@goodmis.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 18, 2009 at 10:56:34PM -0400, Steven Rostedt wrote: >Here's my rebase of the prior push of streamline-config.pl. > >What this patch series does, is add my streamline-config.pl as a make >option for users. What streamline-config.pl does is to look at the >modules loaded in the system (lsmod) and then scans all the Makefiles >and Kconfigs in the current directory tree to find what configs need >to be set for the modules that are loaded. > >It then looks at the .config (if .config is not found, it looks >in /boot, /proc/config.gz, vmlinux, configs.ko for .configs that it >may be able to use). This script will remove all options set as =m that >does not need to be set in order to build the modules found by lsmod. > >NOTE: This does not touch any =y option. If you do make allyesconfig >and then run this, it will have not effect anything. Nor does this enable >any thing that is not set. Although we may change this in the future. > >This patch series provides: > > make localmodconfig > >which will look for a .config to streamline. Then it will run silentoldconfig >to clean up any missing options. > > make localyesconfig > >will remove all =m that is not needed to build the modules provided >by lsmod, and then convert the rest to =y. Note, once you do this, no more >changes will be made by these scripts. > >This is idea to help testers. Since a lot of people download a kernel >from kernel.org and then uses the distro config to configure it. This can >take hours to build. Now all a tester needs to do, is to download the >kernel from kernel.org and run "make localmodconfig". This will disable >most of the modules that are set in distro kernels and speed up the >build time by magnitudes! Awesome!! If I understand this correctly, this is what many people desired to have to configure kernel automatically. I am just a little bit confused by the names "streamline" and "localXXconfig", how about "autoconfig" ? Thanks!