1
0
Fork 0

[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>
hifive-unleashed-5.1
Jack Steiner 2006-01-17 15:42:46 -06:00 committed by Tony Luck
parent d171e519da
commit 8d08aed8d7
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@
#include <asm/smp.h>
#ifdef CONFIG_NUMA
/* Nodes w/o CPUs are preferred for memory allocations, see build_zonelists */
#define PENALTY_FOR_NODE_WITH_CPUS 255
/*
* Returns the number of the node containing CPU 'cpu'
*/