lkml.org 
[lkml]   [2008]   [Mar]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 25 Mar 2008 13:28:53 -0400
FromChris Snook <>
SubjectRe: [patch] srat, x86_64: Add support for nodes spanning other nodes
Suresh Siddha wrote:
> For example, If the physical address layout on a two node system with 8 GB
> memory is something like:> node 0: 0-2GB, 4-6GB> node 1: 2-4GB, 6-8GB> > Current kernels fail to boot/detect this NUMA topology.
> > ACPI SRAT tables can expose such a topology which needs to be supported.
> > Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
> ---
> 
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 227fdb0..99eb102 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -880,6 +880,15 @@ config X86_64_ACPI_NUMA
>  	help
>  	  Enable ACPI SRAT based node topology detection.
> 
> +# Some NUMA nodes have memory ranges that span
> +# other nodes.  Even though a pfn is valid and
> +# between a node's start and end pfns, it may not
> +# reside on that node.  See memmap_init_zone()
> +# for details.
> +config NODES_SPAN_OTHER_NODES
> +	def_bool y
> +	depends on X86_64_ACPI_NUMA
> +

Is this hunk a leftover from your testing?  You're not using the config option 
anywhere, and there isn't really anything in this patch that would justify 
making this a separate config option in mainline.

-- Chris


\
 
 \ /
  Last update: 2008-03-25 18:31    [from the cache]
©2003-2008