diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/include/asm/topology.h | 3 | ||||
-rw-r--r-- | arch/powerpc/include/asm/topology.h | 8 |
2 files changed, 4 insertions, 7 deletions
diff --git a/arch/ia64/include/asm/topology.h b/arch/ia64/include/asm/topology.h index 3202aa74e0d6..6437ca21f61b 100644 --- a/arch/ia64/include/asm/topology.h +++ b/arch/ia64/include/asm/topology.h | |||
@@ -21,7 +21,8 @@ | |||
21 | #define PENALTY_FOR_NODE_WITH_CPUS 255 | 21 | #define PENALTY_FOR_NODE_WITH_CPUS 255 |
22 | 22 | ||
23 | /* | 23 | /* |
24 | * Distance above which we begin to use zone reclaim | 24 | * Nodes within this distance are eligible for reclaim by zone_reclaim() when |
25 | * zone_reclaim_mode is enabled. | ||
25 | */ | 26 | */ |
26 | #define RECLAIM_DISTANCE 15 | 27 | #define RECLAIM_DISTANCE 15 |
27 | 28 | ||
diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h index c9202151079f..6c8a8c5a37a1 100644 --- a/arch/powerpc/include/asm/topology.h +++ b/arch/powerpc/include/asm/topology.h | |||
@@ -9,12 +9,8 @@ struct device_node; | |||
9 | #ifdef CONFIG_NUMA | 9 | #ifdef CONFIG_NUMA |
10 | 10 | ||
11 | /* | 11 | /* |
12 | * Before going off node we want the VM to try and reclaim from the local | 12 | * If zone_reclaim_mode is enabled, a RECLAIM_DISTANCE of 10 will mean that |
13 | * node. It does this if the remote distance is larger than RECLAIM_DISTANCE. | 13 | * all zones on all nodes will be eligible for zone_reclaim(). |
14 | * With the default REMOTE_DISTANCE of 20 and the default RECLAIM_DISTANCE of | ||
15 | * 20, we never reclaim and go off node straight away. | ||
16 | * | ||
17 | * To fix this we choose a smaller value of RECLAIM_DISTANCE. | ||
18 | */ | 14 | */ |
19 | #define RECLAIM_DISTANCE 10 | 15 | #define RECLAIM_DISTANCE 10 |
20 | 16 | ||