Re: diet-kconfig: a script to trim unneeded kconfigs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mauro Carvalho Chehab
Date: Thursday, September 18, 2008 - 8:25 am

Hi Takashi,

On Wed, 17 Sep 2008 01:55:26 +0200
Takashi Iwai <tiwai@suse.de> wrote:


I agree with Giacomo: you should also check for /boot/config-`uname -r`
and /boot/config-`uname -r`.gz.

Also, if the idea is to make life easier for kernel newbies, I think the better
would be to have the script called at kernel Makefile (something like "make
diet"), and having a few other config's available somewhere at kernel tree,
since even a "minimal" kernel may need (or not) a few random modules, like
usb-storage. So, I think we should open a dialog that allows the selection of
using the previous kernel config or selecting between a few profiles like
"minimalist" (just the auto-detected things), "desktop" (adding things like
usb-storage), "notebook" (with a power-saving optimized config),
"server" (adding stuff like LVM, RAID5 and some advanced network configs).

It seems a good idea to check at /proc/cpuinfo and optimize for that
specific processor, enabling SMP only if needed, and only for the number of
existing cores.


Using just a shellscript and binutils seems to be better than using other
tools, since it allows the usage on minimal configured systems where the user
might not have perl or other scripting languages.

Cheers,
Mauro.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
diet-kconfig: a script to trim unneeded kconfigs, Takashi Iwai, (Tue Sep 16, 4:55 pm)
Re: diet-kconfig: a script to trim unneeded kconfigs, Giacomo A. Catenazzi, (Thu Sep 18, 7:01 am)
Re: diet-kconfig: a script to trim unneeded kconfigs, Mauro Carvalho Chehab, (Thu Sep 18, 8:25 am)
Re: diet-kconfig: a script to trim unneeded kconfigs, Giacomo A. Catenazzi, (Thu Sep 18, 8:43 am)
Re: diet-kconfig: a script to trim unneeded kconfigs, Mauro Carvalho Chehab, (Thu Sep 18, 9:27 am)
Re: diet-kconfig: a script to trim unneeded kconfigs, Takashi Iwai, (Thu Sep 18, 1:09 pm)
Re: diet-kconfig: a script to trim unneeded kconfigs, Takashi Iwai, (Thu Sep 18, 1:17 pm)
Re: diet-kconfig: a script to trim unneeded kconfigs, Takashi Iwai, (Thu Sep 18, 1:20 pm)
Re: diet-kconfig: a script to trim unneeded kconfigs, Valdis.Kletnieks, (Thu Sep 18, 2:09 pm)
Re: diet-kconfig: a script to trim unneeded kconfigs, Takashi Iwai, (Thu Sep 18, 3:14 pm)
Re: diet-kconfig: a script to trim unneeded kconfigs, Giacomo A. Catenazzi, (Fri Sep 19, 2:12 am)
Re: diet-kconfig: a script to trim unneeded kconfigs, Takashi Iwai, (Fri Sep 19, 9:01 am)
Re: diet-kconfig: a script to trim unneeded kconfigs, Takashi Iwai, (Mon Sep 22, 3:01 am)
Re: diet-kconfig: a script to trim unneeded kconfigs, Giacomo A. Catenazzi, (Mon Sep 22, 6:39 am)
Re: diet-kconfig: a script to trim unneeded kconfigs, Steven Rostedt, (Mon Sep 22, 8:41 am)
Re: diet-kconfig: a script to trim unneeded kconfigs, Takashi Iwai, (Mon Sep 22, 8:50 am)
Re: diet-kconfig: a script to trim unneeded kconfigs, Takashi Iwai, (Tue Sep 23, 4:31 am)
Re: diet-kconfig: a script to trim unneeded kconfigs, Takashi Iwai, (Tue Sep 23, 11:50 am)