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





--- Comment #48 from Peter Ganzhorn <[email protected]>  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.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to