Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[IA64] Zonelists for nodes without cpus

If a node runs out of memory, ensure that memory on nodes w/o cpus is used
before using memory on nodes with cpus.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by

Jack Steiner and committed by
Tony Luck
8d08aed8 d171e519

+4
+4
include/asm-ia64/topology.h
··· 18 18 #include <asm/smp.h> 19 19 20 20 #ifdef CONFIG_NUMA 21 + 22 + /* Nodes w/o CPUs are preferred for memory allocations, see build_zonelists */ 23 + #define PENALTY_FOR_NODE_WITH_CPUS 255 24 + 21 25 /* 22 26 * Returns the number of the node containing CPU 'cpu' 23 27 */