Skip to content

Commit

Permalink
cpufreq_pegasusq: change hotplug in/out load thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhanmoral committed Apr 1, 2013
1 parent 7d29b47 commit 7543f14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/cpufreq/cpufreq_pegasusq.c
Expand Up @@ -1054,7 +1054,7 @@ static int check_up(void)

if (min_freq >= up_freq && min_rq_avg > up_rq) {
if (online >= 2) {
if (min_avg_load < 65)
if (min_avg_load < 75)
return 0;
}
printk(KERN_ERR "[HOTPLUG IN] %s %d>=%d && %d>%d\n",
Expand Down Expand Up @@ -1117,7 +1117,7 @@ static int check_down(void)
}

if ((max_freq <= down_freq && max_rq_avg <= down_rq)
|| (online >= 3 && max_avg_load < 30)) {
|| (online >= 3 && max_avg_load < 35)) {
printk(KERN_ERR "[HOTPLUG OUT] %s %d<=%d && %d<%d\n",
__func__, max_freq, down_freq, max_rq_avg, down_rq);
hotplug_history->num_hist = 0;
Expand Down

0 comments on commit 7543f14

Please sign in to comment.