Re: NUMA aware slab allocator V2

Dave Hansen
2005-05-13T13:46:37Z

On Fri, 2005-05-13 at 04:21 -0700, Christoph Lameter wrote:
> The definition for the number of NUMA nodes is dependent on
> CONFIG_FLATMEM instead of CONFIG_NUMA in mm.
> CONFIG_FLATMEM is not set on ppc64 because CONFIG_DISCONTIG is set! And
> consequently nodes exist in a non NUMA config.
>
> s/CONFIG_NUMA/CONFIG_FLATMEM/ ??

FLATMEM effectively means that you have a contiguous, single mem_map[];
it isn't directly related to NUMA.

Could you point me to the code that you're looking at? We shouldn't
have numbers of NUMA nodes is dependent on CONFIG_FLATMEM, at least
directly.

-- Dave