[patch 2/4] add x86-64 Kconfig options for sparsemem

From: Matt Tolentino (metolent_at_snoqualmie.dp.intel.com)
Date: 05/18/05

  • Next message: Christoph Hellwig: "Re: [RFC/PATCH 2/5] mm/fs: execute in place (V2)"
    Date:	Wed, 18 May 2005 08:24:41 -0700
    To: ak@muc.de, akpm@osdl.org
    
    

    Add the requisite arch specific Kconfig options to enable
    the use of the sparsemem implementation for NUMA kernels
    on x86-64.

    Signed-off-by: Matt Tolentino <matthew.e.tolentino@intel.com>
    Signed-off-by: Dave Hansen <haveblue@us.ibm.com>

    ---
     arch/x86_64/Kconfig |   19 +++++++++++++++++++
     1 files changed, 19 insertions(+)
    diff -urNp linux-2.6.12-rc4-mm2/arch/x86_64/Kconfig linux-2.6.12-rc4-mm2-m/arch/x86_64/Kconfig
    --- linux-2.6.12-rc4-mm2/arch/x86_64/Kconfig	2005-05-18 07:38:20.000000000 -0400
    +++ linux-2.6.12-rc4-mm2-m/arch/x86_64/Kconfig	2005-05-18 07:44:42.000000000 -0400
    @@ -274,8 +274,27 @@ config NUMA
            bool
            default n
     
    +config ARCH_DISCONTIGMEM_ENABLE
    +	def_bool y
    +	depends on NUMA
    +
    +config ARCH_DISCONTIGMEM_DEFAULT
    +	def_bool y
    +	depends on NUMA
    +
    +config ARCH_SPARSEMEM_ENABLE
    +	def_bool y
    +	depends on NUMA
    +
    +config ARCH_FLATMEM_ENABLE
    +	def_bool y
    +	depends on !NUMA
    +
     source "mm/Kconfig"
     
    +config HAVE_ARCH_EARLY_PFN_TO_NID
    +	def_bool y
    +
     config HAVE_DEC_LOCK
     	bool
     	depends on SMP
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Christoph Hellwig: "Re: [RFC/PATCH 2/5] mm/fs: execute in place (V2)"

    Relevant Pages