aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/topology.h')
-rw-r--r--include/linux/topology.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/linux/topology.h b/include/linux/topology.h
index 3df1d474e5c5..e8eb0040ce3a 100644
--- a/include/linux/topology.h
+++ b/include/linux/topology.h
@@ -56,6 +56,14 @@
56#define REMOTE_DISTANCE 20 56#define REMOTE_DISTANCE 20
57#define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE) 57#define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
58#endif 58#endif
59#ifndef RECLAIM_DISTANCE
60/*
61 * If the distance between nodes in a system is larger than RECLAIM_DISTANCE
62 * (in whatever arch specific measurement units returned by node_distance())
63 * then switch on zone reclaim on boot.
64 */
65#define RECLAIM_DISTANCE 20
66#endif
59#ifndef PENALTY_FOR_NODE_WITH_CPUS 67#ifndef PENALTY_FOR_NODE_WITH_CPUS
60#define PENALTY_FOR_NODE_WITH_CPUS (1) 68#define PENALTY_FOR_NODE_WITH_CPUS (1)
61#endif 69#endif
@@ -86,7 +94,6 @@
86 .max_interval = 2, \ 94 .max_interval = 2, \
87 .busy_factor = 8, \ 95 .busy_factor = 8, \
88 .imbalance_pct = 110, \ 96 .imbalance_pct = 110, \
89 .cache_hot_time = 0, \
90 .cache_nice_tries = 0, \ 97 .cache_nice_tries = 0, \
91 .per_cpu_gain = 25, \ 98 .per_cpu_gain = 25, \
92 .busy_idx = 0, \ 99 .busy_idx = 0, \
@@ -117,7 +124,6 @@
117 .max_interval = 4, \ 124 .max_interval = 4, \
118 .busy_factor = 64, \ 125 .busy_factor = 64, \
119 .imbalance_pct = 125, \ 126 .imbalance_pct = 125, \
120 .cache_hot_time = (5*1000000/2), \
121 .cache_nice_tries = 1, \ 127 .cache_nice_tries = 1, \
122 .per_cpu_gain = 100, \ 128 .per_cpu_gain = 100, \
123 .busy_idx = 2, \ 129 .busy_idx = 2, \