[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090821143525.GH11098@elte.hu>
Date: Fri, 21 Aug 2009 16:35:25 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Theodore Tso <tytso@....edu>,
Arjan van de Ven <arjan@...radead.org>,
Greg KH <greg@...ah.com>,
"Luis R. Rodriguez" <mcgrof@...il.com>, zippel@...ux-m68k.org,
linux-kbuild@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>,
Jonathan Corbet <corbet@....net>,
Alan Jenkins <sourcejedi.lkml@...glemail.com>,
Andi Kleen <andi@...stfloor.org>
Subject: Re: [PATCH 00/14] kconfig: streamline distro configs for testers
* Steven Rostedt <rostedt@...dmis.org> 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!
>
> Lets try to get this in soon,
btw., the way i tested this in the past (and which i dont have time
to test right now) is that i took a plain Fedora box with a regular
rpm kernel booted up and typed:
make localyesconfig
and built it and then 1) checked the size of the .config (it should
be much smaller than allyesconfig) and 2) tried to boot the
resulting bzImage.
It either didnt boot in the past, or had a very large .config. It
would be nice if you could check whether it does on a box of yours.
(maybe you already did that!)
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists