From: Anton Blanchard Reset cache_hot_time to sane values (in the ms range). Some recent changes resulted in values in the us range. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton --- 25-akpm/include/asm-i386/topology.h | 2 +- 25-akpm/include/asm-ppc64/topology.h | 2 +- 25-akpm/include/asm-x86_64/topology.h | 2 +- 25-akpm/include/linux/topology.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff -puN include/asm-i386/topology.h~sched-reset-cache_hot_time include/asm-i386/topology.h --- 25/include/asm-i386/topology.h~sched-reset-cache_hot_time 2004-11-30 01:23:38.471918488 -0800 +++ 25-akpm/include/asm-i386/topology.h 2004-11-30 01:23:38.480917120 -0800 @@ -75,7 +75,7 @@ static inline cpumask_t pcibus_to_cpumas .max_interval = 32, \ .busy_factor = 32, \ .imbalance_pct = 125, \ - .cache_hot_time = (10*1000), \ + .cache_hot_time = (10*1000000), \ .cache_nice_tries = 1, \ .per_cpu_gain = 100, \ .flags = SD_LOAD_BALANCE \ diff -puN include/asm-ppc64/topology.h~sched-reset-cache_hot_time include/asm-ppc64/topology.h --- 25/include/asm-ppc64/topology.h~sched-reset-cache_hot_time 2004-11-30 01:23:38.473918184 -0800 +++ 25-akpm/include/asm-ppc64/topology.h 2004-11-30 01:23:38.480917120 -0800 @@ -46,7 +46,7 @@ static inline int node_to_first_cpu(int .max_interval = 32, \ .busy_factor = 32, \ .imbalance_pct = 125, \ - .cache_hot_time = (10*1000), \ + .cache_hot_time = (10*1000000), \ .cache_nice_tries = 1, \ .per_cpu_gain = 100, \ .flags = SD_LOAD_BALANCE \ diff -puN include/asm-x86_64/topology.h~sched-reset-cache_hot_time include/asm-x86_64/topology.h --- 25/include/asm-x86_64/topology.h~sched-reset-cache_hot_time 2004-11-30 01:23:38.474918032 -0800 +++ 25-akpm/include/asm-x86_64/topology.h 2004-11-30 01:23:38.481916968 -0800 @@ -48,7 +48,7 @@ static inline cpumask_t __pcibus_to_cpum .max_interval = 32, \ .busy_factor = 32, \ .imbalance_pct = 125, \ - .cache_hot_time = (10*1000), \ + .cache_hot_time = (10*1000000), \ .cache_nice_tries = 1, \ .per_cpu_gain = 100, \ .flags = SD_LOAD_BALANCE \ diff -puN include/linux/topology.h~sched-reset-cache_hot_time include/linux/topology.h --- 25/include/linux/topology.h~sched-reset-cache_hot_time 2004-11-30 01:23:38.476917728 -0800 +++ 25-akpm/include/linux/topology.h 2004-11-30 01:23:38.482916816 -0800 @@ -116,7 +116,7 @@ static inline int __next_node_with_cpus( .max_interval = 4, \ .busy_factor = 64, \ .imbalance_pct = 125, \ - .cache_hot_time = (5*1000/2), \ + .cache_hot_time = (5*1000000/2), \ .cache_nice_tries = 1, \ .per_cpu_gain = 100, \ .flags = SD_LOAD_BALANCE \ _