• Andrew Morton's avatar
    [PATCH] Clean up MAX_NR_NODES/NUMNODES/etc. [1/5] · c72da22f
    Andrew Morton authored
    From: Matthew Dobson <colpatch@us.ibm.com>
    
    This starts a series of cleanups against the way in which the various
    architectures specify the number of nodes and memory zones.  We end up
    supporting up to 1024 memory zones on ia64, which is a recent requirement.
    
    Has been tested on ia32, ia64 (UMA), ppa64 (UMA) and NUMAQ.
    
    
    Make sure MAX_NUMNODES is defined in one and only one place.  Remove
    superfluous definitions.  Instead of defining MAX_NUMNODES in
    asm/numnodes.h, we define NODES_SHIFT there.  Then in linux/mmzone.h we
    turn that NODES_SHIFT value into MAX_NUMNODES.
    c72da22f
slab.c 73.8 KB