diff options
author | Jacob Pan <[email protected]> | 2015-05-07 09:03:59 -0700 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2015-05-09 13:36:57 +0800 |
commit | d81861138898ce8d83bc78f0d558ac3984225e2b (patch) | |
tree | 48762b68a0212357464468ac4026dd148330d724 /fs/jbd/commit.c | |
parent | f09bfdb6670e08b004959de727eeec73baa753a2 (diff) |
thermal/powerclamp: fix missing newer package c-states
Package C8 to C10 was introduced in newer Intel CPUs, we need to
include them in the package c-state residency calculation.
Otherwise, idle injection target is not accurately maintained by
the closed control loop.
Also cleaned up the code to make it scale better with large number
of c-states.
Reported-by: Kristen Carlson Accardi <[email protected]>
Signed-off-by: Jacob Pan <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions