[alternative-merged] cpufreq-fix-ondemand-governor-powersave_bias-execution-time-misuse.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     cpufreq: fix ondemand governor powersave_bias execution time misuse
has been removed from the -mm tree.  Its filename was
     cpufreq-fix-ondemand-governor-powersave_bias-execution-time-misuse.patch

This patch was dropped because an alternative patch was merged

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: cpufreq: fix ondemand governor powersave_bias execution time misuse
From: Youquan Song <youquan.song@xxxxxxxxxxxxxxx>

Ondemand governor use powersave_bias tunable to do aggressive power save
by decrease CPU average frequency.  The average frequency achieve by
adjust low and high frequency's execution time proportion during one
sample time interval.

Current kernel, only the high frequency executes in time proportion, but
the low frequency wrongly execute in one whole sample time interval when
powersave_bias is set.

The patch fix it by set low frequency execution time to it deserved.

Signed-off-by: Youquan Song <youquan.song@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/cpufreq/cpufreq_ondemand.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN drivers/cpufreq/cpufreq_ondemand.c~cpufreq-fix-ondemand-governor-powersave_bias-execution-time-misuse drivers/cpufreq/cpufreq_ondemand.c
--- a/drivers/cpufreq/cpufreq_ondemand.c~cpufreq-fix-ondemand-governor-powersave_bias-execution-time-misuse
+++ a/drivers/cpufreq/cpufreq_ondemand.c
@@ -664,6 +664,8 @@ static void do_dbs_timer(struct work_str
 	} else {
 		__cpufreq_driver_target(dbs_info->cur_policy,
 			dbs_info->freq_lo, CPUFREQ_RELATION_H);
+		if (dbs_info->sample_type == DBS_SUB_SAMPLE)
+			delay = dbs_info->freq_lo_jiffies;
 	}
 	schedule_delayed_work_on(cpu, &dbs_info->work, delay);
 	mutex_unlock(&dbs_info->timer_mutex);
_

Patches currently in -mm which might be from youquan.song@xxxxxxxxxxxxxxx are


--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux