[Bug 19702] i5-450M CPU gets stuck in low/lowest state

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=19702





--- Comment #48 from Peter Ganzhorn <peter.ganzhorn@xxxxxxxxxxxxxx>  2010-11-09 17:38:09 ---
I modified to patch like you suggested:

+    if (cpu_has(c, X86_FEATURE_APERFMPERF)) {
+        if (disable_average) {
+            printk(KERN_INFO "acpi-cpufreq: average (aperf/mperf) "
+                   "accounting disabled by user\n");
+            clear_cpu_cap(c, X86_FEATURE_APERFMPERF);
+        }
+        else
+            acpi_cpufreq_driver.getavg = cpufreq_get_measured_perf;
+    }

Will the scheduler adapt to the changed cpu features with only that single
change? Since the sched code probably gets initialized earlier, I wonder if it
will notice the change.
Anyways, the system feels a bit more responsive with the modification to the
patch, but that might be a psychologic deception since I know that I made that
change...

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux