Commit 6a108a14fa35 renamed CONFIG_EMBEDDED to CONFIG_EXPERT with thejustification that EMBEDDED was being used with a broader scope. It wasno longer just being used to expose standard options to embedded kernelconfigs for tweaking, but rather for all "non-standard" kernel configs.This is nice, because now developers have a way to clean up the configmenu by adding 'if EXPERT' to all entries in their Kconfig files thatshould rarely have a non-default value selected (hint1: it would be niceif developers would do this, hint2: it would also be nice if developerswould do this rather than making these types of options silent, and thusimpossible to override).

Unfortunately, EMBEDDED was also being used to modify the defaults ofsome of these options to selections more appropriate for embeddedkernels. Since the renaming was a simple global search-replace, ifdevelopers were to follow hints 1 and 2 above for non-embedded kernels,then they may find unexpected changes in their configs after turning onEXPERT.

This patch attempts to untangle these two, making EXPERT true to itspurpose, which is to only expose standard options for tweaking, andEMBEDDED to resume use as a default option modifier. The patch was madewith the following four steps, which could not be split into separatepatches without breaking configs

1. Make sure EMBEDDED does nothing, i.e. s/EMBEDDED/EXPERT/. There wereonly three places EMBEDDED was used.

2. Add CONFIG_EXPERT=y to all configs that had CONFIG_EMBEDDED=y (andnot CONFIG_EXPERT=y already) to make sure step1 has no effect. This stepisn't strictly necessary since EMBEDDED selects EXPERT, but I wanted theconfigs expressing the new need explicitly. Only 13 *_defconfig files.

3. Move all side effects (default changes) from EXPERT to EMBEDDED

4. Add CONFIG_EMBEDDED=y to all configs that had CONFIG_EXPERT=y (andnot CONFIG_EMBEDDED=y already) to make sure step3 has no effect.

I certainly didn't test this for every touched config. However, I didtest it for one config and got the expected results; Before patch: 1. diff config.orig orig.EXPERT -- shows many changes 2. diff config.orig orig.EMBEDDED -- shows same changes as (1) plus EMBEDDED on After patch: 3. diff config.orig config.new -- no change 4. diff config.orig new.EXPERT -- only 1 change, EXPERT on 5. diff config.orig new.EMBEDDED -- shows same changes as (2)

menuconfig NAMESPACES bool "Namespaces support" if EXPERT- default !EXPERT+ default !EMBEDDED help Provides the way to make tasks work with different objects using the same id. For example same IPC id may refer to different objects@@ -1259,8 +1259,7 @@ config SLUB a slab allocator.