lkml.org 
[lkml]   [2011]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] x86, numa: Fix CONFIG_DEBUG_PER_CPU_MAPS without NUMA emulation
On Thu, 30 Dec 2010, David Rientjes wrote:

> "x86, numa: Fake node-to-cpumask for NUMA emulation" broke the build when
> CONFIG_DEBUG_PER_CPU_MAPS is set and CONFIG_NUMA_EMU is not. This is
> because it is possible to map a cpu to multiple nodes when NUMA emulation
> is used; the patch required a physical node address table to find those
> nodes that was only available when CONFIG_NUMA_EMU was enabled.
>
> This extracts the common debug functionality to its own function for
> CONFIG_DEBUG_PER_CPU_MAPS and uses it regardless of whether
> CONFIG_NUMA_EMU is set or not.
>
> NUMA emulation will now iterate over the set of possible nodes for each
> cpu and call the new debug function whereas only the cpu's node will be
> used without NUMA emulation enabled.
>
> Reported-by: Ingo Molnar <mingo@elte.hu>
> Signed-off-by: David Rientjes <rientjes@google.com>

Ingo, do you know what the status of this fix is? It's required for
x86/numa to build and I'd hate to see all of this fixes miss .38 because
of this failure.


\
 
 \ /
  Last update: 2011-01-06 21:41    [from the cache]
©2003-2011 Jasper Spaans