Rename all derived CONFIG variables
In 2.4.2-ac18 there are 130 CONFIG options that are always derived from other options, the user has no control over them. It is useful for the kernel build process to know which variables are derived and which variables the user can control. There are also 6 CONFIG options that are not used anywhere.
ftp://ftp.ocs.com.au/pub/2.4.2-ac18-config_derived.gz
is a 583,904 byte (unzipped) 114,291 (gzipped) patch which removes the unused variables and renames the 130 derived variables from CONFIG_FOO to CONFIG_FOO_DERIVED. The affected variables are :-
Removed. There were a couple more that could have been removed because nothing checks them, but they identify architecture types in .config and are useful for bug reporting.
CONFIG_ABSTRACT_CONSOLECONFIG_ACPI_INTERPRETERCONFIG_CACHE_LINE_SHIFTCONFIG_FB_CONSOLECONFIG_PCMCIA_SCSICARDCONFIG_PERCPU_IRQ
Renamed to _DERIVED.
CONFIG_ALPHA_APECSCONFIG_ALPHA_BROKEN_IRQ_MASKCONFIG_ALPHA_CIACONFIG_ALPHA_EISACONFIG_ALPHA_EV4CONFIG_ALPHA_EV5CONFIG_ALPHA_EV6CONFIG_ALPHA_EV6CONFIG_ALPHA_IRONGATECONFIG_ALPHA_LCACONFIG_ALPHA_MCPCIACONFIG_ALPHA_POLARISCONFIG_ALPHA_PYXISCONFIG_ALPHA_T2CONFIG_ALPHA_TSUNAMICONFIG_ARC32CONFIG_ARC64CONFIG_ARCH_ACORNCONFIG_ARCH_EBSA285CONFIG_ARCH_S390CONFIG_ARCH_S390XCONFIG_ARC_MEMORYCONFIG_ARMCONFIG_ATM_FORE200ECONFIG_BLK_DEV_COMMERIALCONFIG_BLK_DEV_HDCONFIG_BLK_DEV_IDEDISK_VENDORCONFIG_BLK_DEV_IDEDMACONFIG_BLK_DEV_IDE_MODESCONFIG_BOARD_SCACHECONFIG_BOOT_ELF32CONFIG_BOOT_ELF64CONFIG_BUS_I2CCONFIG_COBALT_27CONFIG_COBALT_LCDCONFIG_COHERENT_IOCONFIG_CPU_26CONFIG_CPU_32CONFIG_CPU_32v3CONFIG_CPU_32v4CONFIG_CPU_SH3CONFIG_CPU_SH4CONFIG_CRIS_LOW_MAPCONFIG_DMASOUNDCONFIG_DMA_NONPCICONFIG_DMA_NONPCI_DERIVEDCONFIG_DUMMY_CONSOLECONFIG_FBCON_STICONFIG_FB_APOLLOCONFIG_FB_G364CONFIG_FB_HP300CONFIG_FB_MACCONFIG_FB_Q40CONFIG_FOOTBRIDGECONFIG_FOOTBRIDGE_ADDINCONFIG_FOOTBRIDGE_HOSTCONFIG_FUSION_BOOTCONFIG_HAVE_DEC_LOCKCONFIG_IA64CONFIG_IA64_BRL_EMUCONFIG_IDEDMA_AUTOCONFIG_IP_NF_NAT_FTPCONFIG_IP_NF_NAT_NEEDEDCONFIG_ISACONFIG_ISA_DMACONFIG_ISDN_CAPI_CAPIFSCONFIG_ITANIUMCONFIG_KBDMOUSECONFIG_LOCKDCONFIG_LOCKD_V4CONFIG_M68K_L2_CACHECONFIG_MACH_SPECIFICCONFIG_MAC_HIDCONFIG_MIPS_JAZZCONFIG_MSNDCLAS_HAVE_BOOTCONFIG_MSNDPIN_HAVE_BOOTCONFIG_MTD_AMDSTDCONFIG_MTD_DOCPROBECONFIG_MTD_JEDECCONFIG_NET_CLS_ROUTECONFIG_NLSCONFIG_NUBUSCONFIG_PARIDE_PARPORTCONFIG_PCI_BIOSCONFIG_PCI_CONSOLECONFIG_PCI_DIRECTCONFIG_PCMCIA_CHRDEVCONFIG_PCMCIA_NETCARDCONFIG_PC_KEYBCONFIG_PC_KEYMAPCONFIG_PPCCONFIG_PPC64BRIDGECONFIG_QL_ISP_A64CONFIG_RPCMOUSECONFIG_SA1111CONFIG_SBUSCONFIG_SBUSCHARCONFIG_SGICONFIG_SH_HP600CONFIG_SH_RTCCONFIG_SMB_NLSCONFIG_SPARC32CONFIG_SPARC64CONFIG_SUNRPCCONFIG_SUN_AUXIOCONFIG_SUN_CONSOLECONFIG_SUN_IOCONFIG_SUN_SERIALCONFIG_SUPERHCONFIG_TQM8xxLCONFIG_UID16CONFIG_X86CONFIG_X86_ALIGNMENT_16CONFIG_X86_BSWAPCONFIG_X86_CMPXCHGCONFIG_X86_GOOD_APICCONFIG_X86_INVLPGCONFIG_X86_IO_APICCONFIG_X86_L1_CACHE_SHIFTCONFIG_X86_LOCAL_APICCONFIG_X86_PAECONFIG_X86_PGECONFIG_X86_POPAD_OKCONFIG_X86_TSCCONFIG_X86_USE_3DNOWCONFIG_X86_USE_PPRO_CHECKSUMCONFIG_X86_USE_STRING_486CONFIG_X86_VISWS_APICCONFIG_X86_WP_WORKS_OKCONFIG_ZFT_COMPRESSOR
The patch hits these files.
Documentation/Configure.helpDocumentation/kbuild/config-language.txtDocumentation/kbuild/makefiles.txtMakefilearch/alpha/Makefilearch/alpha/config.inarch/alpha/defconfigarch/alpha/kernel/Makefilearch/alpha/kernel/alpha_ksyms.carch/alpha/kernel/irq_alpha.carch/alpha/kernel/irq_i8259.carch/alpha/kernel/process.carch/alpha/kernel/setup.carch/alpha/lib/Makefilearch/arm/Makefilearch/arm/boot/Makefilearch/arm/boot/compressed/Makefilearch/arm/config.inarch/arm/def-configs/a5karch/arm/def-configs/assabetarch/arm/def-configs/brutusarch/arm/def-configs/cerfarch/arm/def-configs/clps7500arch/arm/def-configs/ebsa110arch/arm/def-configs/empegarch/arm/def-configs/footbridgearch/arm/def-configs/graphicsclientarch/arm/def-configs/integratorarch/arm/def-configs/lartarch/arm/def-configs/lusl7200arch/arm/def-configs/neponsetarch/arm/def-configs/pangolinarch/arm/def-configs/rpcarch/arm/def-configs/sharkarch/arm/def-configs/shermanarch/arm/def-configs/victorarch/arm/defconfigarch/arm/kernel/Makefilearch/arm/kernel/arch.carch/arm/kernel/armksyms.carch/arm/kernel/bios32.carch/arm/kernel/debug-armv.Sarch/arm/kernel/dma-footbridge.carch/arm/kernel/ecard.carch/arm/kernel/entry-armv.Sarch/arm/kernel/fiq.carch/arm/kernel/irq.carch/arm/kernel/process.carch/arm/kernel/semaphore.carch/arm/kernel/setup.carch/arm/kernel/signal.carch/arm/kernel/traps.carch/arm/lib/Makefilearch/arm/lib/backtrace.Sarch/arm/lib/csumpartialcopyuser.Sarch/arm/lib/ecard.Sarch/arm/lib/io-acorn.Sarch/arm/mach-footbridge/Makefilearch/arm/mach-footbridge/arch.carch/arm/mach-sa1100/hw.carch/arm/mach-shark/dma.carch/arm/mm/Makefilearch/arm/mm/fault-common.carch/arm/mm/init.carch/arm/mm/mm-footbridge.carch/arm/nwfpe/Makefilearch/arm/nwfpe/fpmodule.harch/arm/tools/getconstants.carch/cris/config.inarch/cris/defconfigarch/cris/drivers/Config.inarch/cris/drivers/axisflashmap.carch/cris/drivers/ide.carch/cris/kernel/head.Sarch/cris/mm/init.carch/i386/config.inarch/i386/defconfigarch/i386/kernel/Makefilearch/i386/kernel/apic.carch/i386/kernel/entry.Sarch/i386/kernel/head.Sarch/i386/kernel/i386_ksyms.carch/i386/kernel/i8259.carch/i386/kernel/irq.carch/i386/kernel/mpparse.carch/i386/kernel/pci-irq.carch/i386/kernel/pci-pc.carch/i386/kernel/setup.carch/i386/kernel/time.carch/i386/kernel/traps.carch/i386/lib/Makefilearch/i386/lib/checksum.Sarch/i386/lib/memcpy.carch/i386/mm/init.carch/ia64/config.inarch/ia64/defconfigarch/ia64/kernel/Makefilearch/ia64/kernel/head.Sarch/ia64/kernel/irq.carch/ia64/kernel/ivt.Sarch/ia64/kernel/setup.carch/ia64/kernel/traps.carch/m68k/amiga/config.carch/m68k/apollo/config.carch/m68k/atari/config.carch/m68k/config.inarch/m68k/defconfigarch/m68k/hp300/config.carch/m68k/kernel/setup.carch/m68k/mm/memory.carch/mips/Makefilearch/mips/config.inarch/mips/defconfigarch/mips/defconfig-cobaltarch/mips/defconfig-decstationarch/mips/defconfig-ip22arch/mips/defconfig-orionarch/mips/defconfig-rm200arch/mips/kernel/mips_ksyms.carch/mips/kernel/setup.carch/mips/lib/Makefilearch/mips/mm/init.carch/mips64/Makefilearch/mips64/arc/Makefilearch/mips64/arc/memory.carch/mips64/config.inarch/mips64/defconfigarch/mips64/defconfig-ip22arch/mips64/defconfig-ip27arch/mips64/kernel/head.Sarch/mips64/kernel/mips64_ksyms.carch/parisc/config.commonarch/parisc/defconfigarch/parisc/kernel/ccio-dma.carch/parisc/kernel/parisc_ksyms.carch/parisc/kernel/setup.carch/ppc/Makefilearch/ppc/boot/Makefilearch/ppc/chrpboot/Makefilearch/ppc/coffboot/Makefilearch/ppc/config.inarch/ppc/configs/IVMS8_defconfigarch/ppc/configs/SM850_defconfigarch/ppc/configs/SPD823TS_defconfigarch/ppc/configs/TQM823L_defconfigarch/ppc/configs/TQM850L_defconfigarch/ppc/configs/TQM860L_defconfigarch/ppc/configs/apus_defconfigarch/ppc/configs/bseip_defconfigarch/ppc/configs/common_defconfigarch/ppc/configs/est8260_defconfigarch/ppc/configs/ibmchrp_defconfigarch/ppc/configs/mbx_defconfigarch/ppc/configs/oak_defconfigarch/ppc/configs/power3_defconfigarch/ppc/configs/rpxcllf_defconfigarch/ppc/configs/rpxlite_defconfigarch/ppc/configs/walnut_defconfigarch/ppc/defconfigarch/ppc/kernel/Makefilearch/ppc/kernel/chrp_pci.carch/ppc/kernel/chrp_setup.carch/ppc/kernel/hashtable.Sarch/ppc/kernel/head.Sarch/ppc/kernel/misc.Sarch/ppc/kernel/pmac_setup.carch/ppc/kernel/ppc_asm.harch/ppc/kernel/ppc_ksyms.carch/ppc/kernel/prom.carch/ppc/kernel/setup.carch/ppc/lib/string.Sarch/ppc/mm/init.carch/ppc/xmon/xmon.carch/s390/config.inarch/s390/defconfigarch/s390/kernel/debug.carch/s390x/config.inarch/s390x/defconfigarch/s390x/kernel/debug.carch/sh/Makefilearch/sh/config.inarch/sh/defconfigarch/sh/kernel/Makefilearch/sh/kernel/setup.carch/sparc/config.inarch/sparc/defconfigarch/sparc/kernel/Makefilearch/sparc/kernel/devices.carch/sparc/kernel/ebus.carch/sparc/kernel/ioport.carch/sparc/kernel/process.carch/sparc/kernel/setup.carch/sparc/kernel/sparc_ksyms.carch/sparc/mm/io-unit.carch/sparc/mm/iommu.carch/sparc/mm/srmmu.carch/sparc/mm/sun4c.carch/sparc/prom/misc.carch/sparc64/config.inarch/sparc64/defconfigarch/sparc64/kernel/ebus.carch/sparc64/kernel/head.Sarch/sparc64/kernel/process.carch/sparc64/kernel/setup.carch/sparc64/kernel/sparc64_ksyms.carch/sparc64/mm/init.carch/sparc64/prom/misc.cdrivers/Makefiledrivers/acorn/char/Makefiledrivers/acorn/char/keyb_arc.cdrivers/atm/Config.indrivers/atm/Makefiledrivers/atm/atmdev_init.cdrivers/block/Config.indrivers/block/Makefiledrivers/block/genhd.cdrivers/block/ll_rw_blk.cdrivers/block/paride/Config.indrivers/block/rd.cdrivers/char/Config.indrivers/char/Makefiledrivers/char/cyclades.cdrivers/char/ftape/Config.indrivers/char/ftape/Makefiledrivers/char/ftape/zftape/zftape-init.cdrivers/char/joystick/analog.cdrivers/char/misc.cdrivers/char/pcmcia/Config.indrivers/ide/Config.indrivers/ide/Makefiledrivers/ide/aec62xx.cdrivers/ide/alim15x3.cdrivers/ide/amd7409.cdrivers/ide/cmd64x.cdrivers/ide/cs5530.cdrivers/ide/cy82c693.cdrivers/ide/hpt34x.cdrivers/ide/hpt366.cdrivers/ide/ide-cd.cdrivers/ide/ide-disk.cdrivers/ide/ide-features.cdrivers/ide/ide-floppy.cdrivers/ide/ide-pci.cdrivers/ide/ide-probe.cdrivers/ide/ide-tape.cdrivers/ide/ide.cdrivers/ide/ide_modes.hdrivers/ide/ns87415.cdrivers/ide/osb4.cdrivers/ide/pdc202xx.cdrivers/ide/piix.cdrivers/ide/sis5513.cdrivers/ide/slc90e66.cdrivers/ide/trm290.cdrivers/ide/via82cxxx.cdrivers/input/keybdev.cdrivers/isdn/Config.indrivers/isdn/avmb1/Makefiledrivers/isdn/avmb1/capi.cdrivers/macintosh/Makefiledrivers/macintosh/adb.cdrivers/macintosh/mac_hid.cdrivers/macintosh/mac_keyb.cdrivers/macintosh/via-cuda.cdrivers/media/video/Config.indrivers/media/video/Makefiledrivers/message/fusion/Config.indrivers/mtd/Config.indrivers/mtd/Makefiledrivers/net/Config.indrivers/net/Makefiledrivers/net/acenic.cdrivers/net/acenic.hdrivers/net/arcnet/Config.indrivers/net/de4x5.cdrivers/net/pcmcia/Config.indrivers/net/sunhme.cdrivers/net/sunhme.hdrivers/net/tokenring/Config.indrivers/net/wan/Config.indrivers/parport/Config.indrivers/pci/Makefiledrivers/pcmcia/cs.cdrivers/pcmcia/i82365.cdrivers/pcmcia/rsrc_mgr.cdrivers/s390/Config.indrivers/s390/block/xpram.cdrivers/s390/idals.cdrivers/s390/misc/chandev.cdrivers/s390/s390io.cdrivers/sbus/Makefiledrivers/sbus/audio/Config.indrivers/sbus/sbus.cdrivers/scsi/Config.indrivers/scsi/Makefiledrivers/scsi/pcmcia/Config.indrivers/scsi/qlogicisp.cdrivers/scsi/scsi.hdrivers/scsi/sd.cdrivers/sound/Config.indrivers/sound/Makefiledrivers/sound/dmasound/Config.indrivers/sound/dmasound/Makefiledrivers/sound/msnd_pinnacle.cdrivers/video/Config.indrivers/video/Makefiledrivers/video/aty/atyfb_base.cdrivers/video/aty128fb.cdrivers/video/cyber2000fb.cdrivers/video/fbmem.cdrivers/video/font_acorn_8x8.cdrivers/video/imsttfb.cdrivers/video/matrox/matroxfb_base.cdrivers/video/matrox/matroxfb_base.hdrivers/video/promcon.cdrivers/video/vgacon.cfs/Config.in
fs/Makefilefs/lockd/Makefilefs/lockd/svc.cfs/lockd/svclock.cfs/lockd/svcproc.cfs/lockd/svcsubs.cfs/lockd/xdr.cfs/ncpfs/ioctl.cfs/nls/Config.infs/partitions/Config.infs/partitions/mac.cfs/proc/array.cfs/proc/proc_misc.cfs/stat.cinclude/asm-alpha/cache.hinclude/asm-alpha/core_cia.hinclude/asm-alpha/io.hinclude/asm-alpha/mmu_context.hinclude/asm-alpha/pgalloc.hinclude/asm-alpha/pgtable.hinclude/asm-alpha/system.hinclude/asm-arm/arch-ebsa285/memory.hinclude/asm-arm/arch-sa1100/hardware.hinclude/asm-arm/arch-sa1100/irq.hinclude/asm-arm/arch-sa1100/irqs.hinclude/asm-arm/hardware/dec21285.hinclude/asm-arm/proc-fns.hinclude/asm-cris/page.hinclude/asm-cris/pgtable.hinclude/asm-cris/processor.hinclude/asm-i386/apic.hinclude/asm-i386/bugs.hinclude/asm-i386/byteorder.hinclude/asm-i386/cache.hinclude/asm-i386/cobalt.hinclude/asm-i386/fixmap.hinclude/asm-i386/highmem.hinclude/asm-i386/io_apic.hinclude/asm-i386/irq.hinclude/asm-i386/lithium.hinclude/asm-i386/page.hinclude/asm-i386/pgalloc.hinclude/asm-i386/pgtable.hinclude/asm-i386/processor.hinclude/asm-i386/smp.hinclude/asm-i386/string-486.hinclude/asm-i386/string.hinclude/asm-i386/system.hinclude/asm-i386/timex.hinclude/asm-i386/uaccess.hinclude/asm-ia64/delay.hinclude/asm-mips/arc/types.hinclude/asm-mips/pci.hinclude/asm-mips/serial.hinclude/asm-mips64/arc/types.hinclude/asm-mips64/bcache.hinclude/asm-mips64/io.hinclude/asm-mips64/pci.hinclude/asm-mips64/sgiarcs.hinclude/asm-parisc/io.hinclude/asm-ppc/cache.hinclude/asm-ppc/mmu.hinclude/asm-ppc/mpc8xx.hinclude/asm-ppc/processor.hinclude/asm-ppc/prom.hinclude/asm-ppc/tqm8xx.hinclude/asm-s390/idals.hinclude/asm-s390/irq.hinclude/asm-s390x/idals.hinclude/asm-s390x/irq.hinclude/asm-sh/io.hinclude/asm-sh/machvec.hinclude/linux/blk.hinclude/linux/highuid.hinclude/linux/ide.hinclude/linux/kernel_stat.hinclude/linux/linkage.hinclude/linux/lockd/lockd.hinclude/linux/lockd/nlm.hinclude/linux/lvm.hinclude/linux/netfilter_ipv4/ip_conntrack.hinclude/linux/types.hinclude/net/dst.hinclude/net/ip_fib.hinclude/net/pkt_sched.hinclude/net/profile.hinit/main.c
kernel/Makefilekernel/ksyms.ckernel/panic.ckernel/sched.ckernel/softirq.ckernel/sysctl.c
lib/Makefile
net/Makefilenet/ipv4/fib_rules.cnet/ipv4/fib_semantics.cnet/ipv4/ip_input.cnet/ipv4/netfilter/Config.innet/ipv4/netfilter/Makefilenet/ipv4/route.cnet/ipv6/route.cnet/sched/Config.in
Quoted 7 lines · Keith Owens
In 2.4.2-ac18 there are 130 CONFIG options that are always derived from other options, the user has no control over them. It is useful for the kernel build process to know which variables are derived and which variables the user can control. There are also 6 CONFIG options that are not used anywhere.
Quoted 5 lines
ftp://ftp.ocs.com.au/pub/2.4.2-ac18-config_derived.gz
is a 583,904 byte (unzipped) 114,291 (gzipped) patch which removes the unused variables and renames the 130 derived variables from
CONFIG_FOOtoCONFIG_FOO_DERIVED. The affected variables are :-
Not only do I think that CONFIG_xxx_DERIVED needlessly extends the name of derived vars, but your patch does not belong in a stable series. Derived CONFIG_xxx vars are likely to be referenced in source. Changing those vars in the middle of a stable series pointlessly breaks external source code.
I hope vendors don't start applying this patch...
Jeff
Signature · 3 lines
Jeff Garzik | "You see, in this world there's two kinds of Building 1024 | people, my friend: Those with loaded guns MandrakeSoft | and those who dig. You dig." --Blondie
[kaos]
Quoted 2 lines
In 2.4.2-ac18 there are 130 CONFIG options that are always derived from other options, the user has no control over them.
I've thought about these before ... but never got around to doing anything about them. I agree they should have a separate namespace.
However, I would vote the for namespace CONFIG__* rather than CONFIG_*_DERIVED. As Jeff noted, _DERIVED is quite a mouthful to type, and CONFIG__* seems all-around less intrusive.
Peter
Peter Samuelson <[email protected]>:
Quoted 9 lines
Quoted 2 lines
In 2.4.2-ac18 there are 130 CONFIG options that are always derived from other options, the user has no control over them.
I've thought about these before ... but never got around to doing anything about them. I agree they should have a separate namespace.
However, I would vote the for namespace CONFIG__* rather than CONFIG_*_DERIVED. As Jeff noted,
_DERIVEDis quite a mouthful to type, and CONFIG__* seems all-around less intrusive.
How much point is there to this kind of cleanup in CML1, really?
After the fall LinuxWorld meeting I was under the impression that mec and the rest of the build team were planning to support switching to CML2 for the 2.5 series. If that's not true, someone should clue me in *now*, before I go misrepresenting anybody's position at the 2.5 kickoff workshop.
But if we're going to push Linus and the kernel crew to switch to CML2, then why invite the political tsuris of trying to get a large patch into 2.4 now? Maybe I'm missing something here, but this doesn't seem necessary to me.
Signature · 6 lines
<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a> The IRS has become morally corrupted by the enormous power which we in Congress have unwisely entrusted to it. Too often it acts like a Gestapo preying upon defenseless citizens. -- Senator Edward V. Long
Quoted 4 lines · Eric S. Raymond
But if we're going to push Linus and the kernel crew to switch to CML2, then why invite the political tsuris of trying to get a large patch into 2.4 now? Maybe I'm missing something here, but this doesn't seem necessary to me.
The derived config variables should be in a separate name space, whether config is CML1 or CML2. This patch does it for CML1.
Quoted 4 lines · Keith Owens
In 2.4.2-ac18 there are 130 CONFIG options that are always derived from other options, the user has no control over them. It is useful for the kernel build process to know which variables are derived and which variables the user can control. There are also 6 CONFIG options that
Yes, it is. However, I don't see a reason to use a different namespace for them. At least some of the options below might become non-derived options again, and having that knowledge spread out over most of the kernel tree doesn't make any sense to me.
Quoted 4 lines · Keith Owens
In 2.4.2-ac18 there are 130 CONFIG options that are always derived from other options, the user has no control over them. It is useful for the kernel build process to know which variables are derived and which variables the user can control.
If it's useful for the (future?) kernel build process to know this, shouldn't that config/build process derive this info itself, rather than going by _DERIVED on the end of a CONFIG_ name?
And aren't there many CONFIG_ options (I think your "always" implies so) which are derived in some cases (e.g. on some architectures), specified by the user in others? Those don't get to be called _DERIVED though often they are derived.
And easy to imagine an option always derived in one release, sometimes specified in the next, always derived in the next... Yes, we can keep on editing the CONFIG_ name in all sources affected, but I just don't think the name should be trying to carry that info.
Hugh
Quoted 7 lines
Not only do I think that
CONFIG_xxx_DERIVEDneedlessly extends the name of derived vars, but your patch does not belong in a stable series. DerivedCONFIG_xxxvars are likely to be referenced in source. Changing those vars in the middle of a stable series pointlessly breaks external source code.I hope vendors don't start applying this patch...
I dont see them doing that. I'm not going to be applying it for -ac either. It would appear that this is a wrong way to fix the problem.
The config option checker should be scanning for define_*** options and removing them from its output
Quoted 2 lines
The derived config variables should be in a separate name space, whether config is CML1 or CML2. This patch does it for CML1.
Why ?
The only tool that needs to seperate them is the config check script and that has enough information to deduce them
Quoted 9 lines · Keith Owens
Quoted 4 lines · Eric S. Raymond
But if we're going to push Linus and the kernel crew to switch to CML2, then why invite the political tsuris of trying to get a large patch into 2.4 now? Maybe I'm missing something here, but this doesn't seem necessary to me.
The derived config variables should be in a separate name space, whether config is CML1 or CML2. This patch does it for CML1.
I don't think this makes sense at all. The derivation of the config values is the concern of the configuration system, not the code. Consider something like CONFIG_CPU_HAS_FEATURE_FOO that might currently be derived from CONFIG_CPU_BAR but may in the future be made independent. Or vice-versa. Your proposed name-change means additional maintenance headache and gets you nothing that you couldn't get by simply including whatever script you wrote to deduce the dependencies. Such a script would at least be able to tell you what a variable was derived from.
--
"Love the dolphins," she advised him. "Write by W.A.S.T.E.."