[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1201111353330.21755@chino.kir.corp.google.com>
Date: Wed, 11 Jan 2012 13:57:36 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Andrew Jones <drjones@...hat.com>
cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
mingo@...e.hu, david.woodhouse@...el.com, gregkh@...e.de,
davem@...emloft.net, axboe@...nel.dk, arnd@...db.de, holt@....com,
linux-arch@...r.kernel.org, linux@....linux.org.uk,
hskinnemoen@...il.com, egtvedt@...fundet.no, msalter@...hat.com,
a-jacquiot@...com, starvik@...s.com, jesper.nilsson@...s.com,
dhowells@...hat.com, takata@...ux-m32r.org, geert@...ux-m68k.org,
yasutake.koichi@...panasonic.com, jonas@...thpole.se,
kyle@...artin.ca, deller@....de, jejb@...isc-linux.org,
chris@...kel.net, greg@...ah.com, davej@...hat.com,
airlied@...ux.ie, jkosina@...e.cz, mchehab@...radead.org,
johannes@...solutions.net, linville@...driver.com
Subject: Re: [PATCH] kconfig: untangle EXPERT and EMBEDDED
On Wed, 11 Jan 2012, Andrew Jones wrote:
> Commit 6a108a14fa35 renamed CONFIG_EMBEDDED to CONFIG_EXPERT with the
> justification that EMBEDDED was being used with a broader scope. It was
> no longer just being used to expose standard options to embedded kernel
> configs for tweaking, but rather for all "non-standard" kernel configs.
> This is nice, because now developers have a way to clean up the config
> menu by adding 'if EXPERT' to all entries in their Kconfig files that
> should rarely have a non-default value selected (hint1: it would be nice
> if developers would do this, hint2: it would also be nice if developers
> would do this rather than making these types of options silent, and thus
> impossible to override).
>
> Unfortunately, EMBEDDED was also being used to modify the defaults of
> some of these options to selections more appropriate for embedded
> kernels. Since the renaming was a simple global search-replace, if
> developers were to follow hints 1 and 2 above for non-embedded kernels,
> then they may find unexpected changes in their configs after turning on
> EXPERT.
>
We discussed this when the patch was made to change EMBEDDED to EXPERT and
we knew that things like CONFIG_SLOB exist that would only make sense on a
platform with a very small memory footprint. So what criteria are you
using to determine what makes sense for EMBEDDED or not and what would be
generally useful for platforms with very small memory footprints?
I would think that something like CONFIG_SMALLMEM would identify those
candidates (for things like SLOB) and then you could separate the rest
based on the platform they exist for since you're essentially introducing
a new config symbol here that existed in the past but are now using it
with different semantics.
--
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