Thread (17 messages) 17 messages, 4 authors, 2012-03-30

Re: [PATCH 4/5] ACPI: Do cpufreq clamping for throttling per package v2

From: Matthew Garrett <mjg59@srcf.ucam.org>
Date: 2012-02-14 00:17:55
Also in: lkml

On Mon, Feb 13, 2012 at 06:30:33PM -0500, Len Brown wrote:
On 02/06/2012 11:31 AM, Matthew Garrett wrote:
quoted
On Mon, Feb 06, 2012 at 08:17:11AM -0800, Andi Kleen wrote:
quoted
+#define reduction_pctg(cpu) \
+	per_cpu(cpufreq_thermal_reduction_pctg, phys_package_first_cpu(cpu))
I don't like using percentages here - we end up with the potential for 
several percentages to end up mapping to the same P state.

Does it matter?
If you step through multiple percentages that map to the same P state, 
yes. On the other hand, re-reading the specification, it seems that this 
is the behaviour envisaged in the polling equation. I guess we'll stick 
with that.

-- 
Matthew Garrett | mjg59@srcf.ucam.org
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help