[PATCH] [x86] NUMA implied when DISCONTIGMEM
From: Christoph Egger
Date: Wed May 19 2010 - 07:31:19 EST
Hi all!
As part of the VAMOS[0] research project at the University of
Erlangen we are looking at multiple integrity errors in linux'
configuration system.
x86 Kconfig implies NUMA if DISCONTIGMEM is selected (the
dependency is as [1] -- excerpt from our tool's output) meaning a
check for NUMA inside a DISCONTIGMEM is useless (in x86 specific code
not in general), so this part can be simplified as in the below patch.
Please keep me informed of this patch getting confirmed /
merged so we can keep track of it.
Regards
Christoph Egger
[0] http://vamos1.informatik.uni-erlangen.de/
[1]
(DISCONTIGMEM -> !SELECT_MEMORY_MODEL & ARCH_DISCONTIGMEM_ENABLE |DISCONTIGMEM_MANUAL)
&
(DISCONTIGMEM_MANUAL -> CHOICE_11 & ARCH_DISCONTIGMEM_ENABLE)
&
(ARCH_DISCONTIGMEM_ENABLE -> NUMA & X86_32)
[2]
config ARCH_DISCONTIGMEM_ENABLE
def_bool y
depends on NUMA && X86_32
----