Skip to content

Commit

Permalink
[IA64] Zonelists for nodes without cpus
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jack Steiner authored and Tony Luck committed Jan 17, 2006
1 parent d171e51 commit 8d08aed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/asm-ia64/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -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'
*/
Expand Down

0 comments on commit 8d08aed

Please sign in to comment.