aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/topology.h')
-rw-r--r--include/asm-ia64/topology.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-ia64/topology.h b/include/asm-ia64/topology.h
index f7c330467e7e..412ef8e493a8 100644
--- a/include/asm-ia64/topology.h
+++ b/include/asm-ia64/topology.h
@@ -18,6 +18,10 @@
18#include <asm/smp.h> 18#include <asm/smp.h>
19 19
20#ifdef CONFIG_NUMA 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 * Returns the number of the node containing CPU 'cpu' 26 * Returns the number of the node containing CPU 'cpu'
23 */ 27 */
@@ -55,7 +59,6 @@ void build_cpu_to_node_map(void);
55 .max_interval = 4, \ 59 .max_interval = 4, \
56 .busy_factor = 64, \ 60 .busy_factor = 64, \
57 .imbalance_pct = 125, \ 61 .imbalance_pct = 125, \
58 .cache_hot_time = (10*1000000), \
59 .per_cpu_gain = 100, \ 62 .per_cpu_gain = 100, \
60 .cache_nice_tries = 2, \ 63 .cache_nice_tries = 2, \
61 .busy_idx = 2, \ 64 .busy_idx = 2, \
@@ -81,7 +84,6 @@ void build_cpu_to_node_map(void);
81 .max_interval = 8*(min(num_online_cpus(), 32)), \ 84 .max_interval = 8*(min(num_online_cpus(), 32)), \
82 .busy_factor = 64, \ 85 .busy_factor = 64, \
83 .imbalance_pct = 125, \ 86 .imbalance_pct = 125, \
84 .cache_hot_time = (10*1000000), \
85 .cache_nice_tries = 2, \ 87 .cache_nice_tries = 2, \
86 .busy_idx = 3, \ 88 .busy_idx = 3, \
87 .idle_idx = 2, \ 89 .idle_idx = 2, \