User: Password:
Subscribe / Log in / New account

Re: Re: [RFC] Simplifying kernel configuration for distro issues

To:  Cyrill Gorcunov <>
Subject:  Re: Re: [RFC] Simplifying kernel configuration for distro issues
Date:  Sun, 15 Jul 2012 15:09:12 -0700 (PDT)
Message-ID:  <>
Cc:  Borislav Petkov <>, Pekka Enberg <>, richard -rw- weinberger <>, "Myklebust, Trond" <>, Linus Torvalds <torvalds-de/>, Dave Jones <>, Greg Kroah-Hartman <>, Ubuntu Kernel Team <>, Debian Kernel Team <>, OpenSUSE Kernel Team <>, Linux Kernel Mailing List <>, Ingo Molnar <>, Sasha Levin <>, Asias He <>, Pavel Emelyanov <>
Archive-link:  Article

On Mon, 16 Jul 2012, Cyrill Gorcunov wrote:

> Replying to David's message (sorry for delay) I fear having a bunch of
> miniconfig files will end up in a mess. Maybe (maybe (!) I don't know since
> I've no time at moment to read kconfig code and I'm not sure if this
> is right direction at all) it would worth to add some new keyword to
> kconfig language, say "profile", which would tag symbol to a category
> if needed, and these categories included into profiles automatically.
> On the other hands this might end up in a mess as well.

I have a couple problems with the approach of modifying the existing 
kconfig files

1. how does it handle the case when a profile wants something one way and 
the admin wants it another way

   the example is the fedora default wanting SELINUX and I want some other 

2. since it requires making changes in the upstream kernel source, the 
number of people who can make these changes is small.

3. since all these changes go into the upstream kernel source, changes to 
these profiles are going to be visible churn (think of the issues with the 
defconfigs for ARM a couple of years ago)

4. the complexity of tagging all possible profiles is very high.

   Even if you limit the profiles to "Linux Distros", how many different 
distros are there? Do you really want to have to start arguing over which 
distros are large enough to get their profile added to the upstream kernel 

If instead we go with something along the lines of the miniconf approach, 
the picture looks very different

1. this approach only sets things one time, after that the person doing 
the compile is free to change anything.

2. since the changes are a local file, separate from the upstream source, 
issues like who can provide the config, what distros will accept it, 
complexity in having many different options, etc all vanish

3. by simply combining miniconfig files, you can combine sets of 
pre-defined options

David Lang

(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds