]> git.hungrycats.org Git - linux/commitdiff
[PATCH] sched: remove NODE_BALANCE_RATE definitions
authorMatthew Dobson <colpatch@us.ibm.com>
Mon, 18 Oct 2004 16:11:39 +0000 (09:11 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Oct 2004 16:11:39 +0000 (09:11 -0700)
NODE_BALANCE_RATE is defined all over the place, but used nowhere.  Let's
remove it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-alpha/topology.h
include/asm-generic/topology.h
include/asm-i386/topology.h
include/asm-ia64/topology.h
include/asm-m32r/topology.h
include/asm-mips/mach-ip27/topology.h
include/asm-ppc64/topology.h
include/asm-x86_64/topology.h

index 271d21c24d890900fee16273f5e1ba294945ac94..eb740e280d9c7912bfbc0ba8c399db944494ee69 100644 (file)
@@ -39,9 +39,6 @@ static inline cpumask_t node_to_cpumask(int node)
        return node_cpu_mask;
 }
 
-/* Cross-node load balancing interval. */
-# define NODE_BALANCE_RATE 10
-
 #define pcibus_to_cpumask(bus) (cpu_online_map)
 
 #else /* CONFIG_NUMA */
index 8f84159f0f4b5dd513f784fc824ef020ed671783..ec96e8b0f1901e7c8045415eef2cbd2c247b46dc 100644 (file)
@@ -45,9 +45,4 @@
 #define pcibus_to_cpumask(bus) (cpu_online_map)
 #endif
 
-/* Cross-node load balancing interval. */
-#ifndef NODE_BALANCE_RATE
-#define NODE_BALANCE_RATE 10
-#endif
-
 #endif /* _ASM_GENERIC_TOPOLOGY_H */
index 1c2f0e85b5fbf577ee98a6945e4f9203d05f0143..d2c836023a074fe0cbff94d73a64502ed441b3b8 100644 (file)
@@ -69,9 +69,6 @@ static inline cpumask_t pcibus_to_cpumask(int bus)
 /* Node-to-Node distance */
 #define node_distance(from, to) ((from) != (to))
 
-/* Cross-node load balancing interval. */
-#define NODE_BALANCE_RATE 100
-
 /* sched_domains SD_NODE_INIT for NUMAQ machines */
 #define SD_NODE_INIT (struct sched_domain) {           \
        .span                   = CPU_MASK_NONE,        \
index a67214893b9423d675be429bfc72f1b539fa1067..1062f02b088e05a86d14ebd65881faa37d246c9d 100644 (file)
@@ -40,9 +40,6 @@
  */
 #define node_to_first_cpu(node) (__ffs(node_to_cpumask(node)))
 
-/* Cross-node load balancing interval. */
-#define NODE_BALANCE_RATE 10
-
 void build_cpu_to_node_map(void);
 
 /* sched_domains SD_NODE_INIT for IA64 NUMA machines */
index b5a3ea19229d96ee51d53a51c995fb34e51170d2..299a89d91bde322b26ff4348c4c44443559ca226 100644 (file)
@@ -45,9 +45,4 @@
 #define pcibus_to_cpumask(bus) (cpu_online_map)
 #endif
 
-/* Cross-node load balancing interval. */
-#ifndef NODE_BALANCE_RATE
-#define NODE_BALANCE_RATE 10
-#endif
-
 #endif /* _ASM_M32R_TOPOLOGY_H */
index 0e931261374852934ea68aa2262dcd04b95b1a4b..de8eb53eb9307361a513517da67513a52051da88 100644 (file)
@@ -12,7 +12,4 @@
 extern int node_distance(nasid_t nasid_a, nasid_t nasid_b);
 #define node_distance(from, to)        node_distance(from, to)
 
-/* Cross-node load balancing interval. */
-#define NODE_BALANCE_RATE      10
-
 #endif /* _ASM_MACH_TOPOLOGY_H */
index 3dca822627e4729e8e76334bd2ee7f6b16b8261e..ed630fc5cf4a6184a10006245e2ae978476477f1 100644 (file)
@@ -37,9 +37,6 @@ static inline int node_to_first_cpu(int node)
 
 #define nr_cpus_node(node)     (nr_cpus_in_node[node])
 
-/* Cross-node load balancing interval. */
-#define NODE_BALANCE_RATE 10
-
 /* sched_domains SD_NODE_INIT for PPC64 machines */
 #define SD_NODE_INIT (struct sched_domain) {           \
        .span                   = CPU_MASK_NONE,        \
index 1dc2aa81bbeeaf96bc69ef785707af1531ecccf9..e52d00b0bf16635da291bf7a8c38a2c33757618d 100644 (file)
@@ -32,8 +32,6 @@ static inline cpumask_t __pcibus_to_cpumask(int bus)
 /* broken generic file uses #ifndef later on this */
 #define pcibus_to_cpumask(bus) __pcibus_to_cpumask(bus)
 
-#define NODE_BALANCE_RATE 30   /* CHECKME */ 
-
 #ifdef CONFIG_NUMA
 /* sched_domains SD_NODE_INIT for x86_64 machines */
 #define SD_NODE_INIT (struct sched_domain) {           \