Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196671
b: refs/heads/master
c: 5660820
h: refs/heads/master
i:
  196669: 9f5475f
  196667: de1d9ef
  196663: ff3b9f1
  196655: a3f5124
  196639: 378e464
  196607: 01bac5e
v: v3
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed May 21, 2010
1 parent dd99943 commit 0cd373e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b878dc00595440586874952dd85ce9b803360b87
refs/heads/master: 56608209d34b8add40af54031d4e420afbcde9f6
10 changes: 10 additions & 0 deletions trunk/arch/powerpc/include/asm/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ struct device_node;
*/
#define RECLAIM_DISTANCE 10

/*
* Before going off node we want the VM to try and reclaim from the local
* node. It does this if the remote distance is larger than RECLAIM_DISTANCE.
* With the default REMOTE_DISTANCE of 20 and the default RECLAIM_DISTANCE of
* 20, we never reclaim and go off node straight away.
*
* To fix this we choose a smaller value of RECLAIM_DISTANCE.
*/
#define RECLAIM_DISTANCE 10

#include <asm/mmzone.h>

static inline int cpu_to_node(int cpu)
Expand Down

0 comments on commit 0cd373e

Please sign in to comment.