Commit e2da1073 authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[PATCH] sched: reset cache_hot_time

Reset cache_hot_time to sane values (in the ms range).  Some recent changes
resulted in values in the us range.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fbdaac3d
...@@ -75,7 +75,7 @@ static inline cpumask_t pcibus_to_cpumask(int bus) ...@@ -75,7 +75,7 @@ static inline cpumask_t pcibus_to_cpumask(int bus)
.max_interval = 32, \ .max_interval = 32, \
.busy_factor = 32, \ .busy_factor = 32, \
.imbalance_pct = 125, \ .imbalance_pct = 125, \
.cache_hot_time = (10*1000), \ .cache_hot_time = (10*1000000), \
.cache_nice_tries = 1, \ .cache_nice_tries = 1, \
.per_cpu_gain = 100, \ .per_cpu_gain = 100, \
.flags = SD_LOAD_BALANCE \ .flags = SD_LOAD_BALANCE \
......
...@@ -46,7 +46,7 @@ static inline int node_to_first_cpu(int node) ...@@ -46,7 +46,7 @@ static inline int node_to_first_cpu(int node)
.max_interval = 32, \ .max_interval = 32, \
.busy_factor = 32, \ .busy_factor = 32, \
.imbalance_pct = 125, \ .imbalance_pct = 125, \
.cache_hot_time = (10*1000), \ .cache_hot_time = (10*1000000), \
.cache_nice_tries = 1, \ .cache_nice_tries = 1, \
.per_cpu_gain = 100, \ .per_cpu_gain = 100, \
.flags = SD_LOAD_BALANCE \ .flags = SD_LOAD_BALANCE \
......
...@@ -48,7 +48,7 @@ static inline cpumask_t __pcibus_to_cpumask(int bus) ...@@ -48,7 +48,7 @@ static inline cpumask_t __pcibus_to_cpumask(int bus)
.max_interval = 32, \ .max_interval = 32, \
.busy_factor = 32, \ .busy_factor = 32, \
.imbalance_pct = 125, \ .imbalance_pct = 125, \
.cache_hot_time = (10*1000), \ .cache_hot_time = (10*1000000), \
.cache_nice_tries = 1, \ .cache_nice_tries = 1, \
.per_cpu_gain = 100, \ .per_cpu_gain = 100, \
.flags = SD_LOAD_BALANCE \ .flags = SD_LOAD_BALANCE \
......
...@@ -116,7 +116,7 @@ static inline int __next_node_with_cpus(int node) ...@@ -116,7 +116,7 @@ static inline int __next_node_with_cpus(int node)
.max_interval = 4, \ .max_interval = 4, \
.busy_factor = 64, \ .busy_factor = 64, \
.imbalance_pct = 125, \ .imbalance_pct = 125, \
.cache_hot_time = (5*1000/2), \ .cache_hot_time = (5*1000000/2), \
.cache_nice_tries = 1, \ .cache_nice_tries = 1, \
.per_cpu_gain = 100, \ .per_cpu_gain = 100, \
.flags = SD_LOAD_BALANCE \ .flags = SD_LOAD_BALANCE \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment