summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYouquan Song <youquan.song@intel.com>2012-10-26 12:26:59 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-15 00:34:20 +0100
commitd73d68dc49e09143e8e3bef10670a021c26ec4a5 (patch)
tree1efde05ffcfcbe38ac3cb6900c8f01b70d0ec066 /include
parente11538d1f03914eb92af5a1a378375c05ae8520c (diff)
downloadop-kernel-dev-d73d68dc49e09143e8e3bef10670a021c26ec4a5.zip
op-kernel-dev-d73d68dc49e09143e8e3bef10670a021c26ec4a5.tar.gz
cpuidle: Set residency to 0 if target Cstate not enter
When cpuidle governor choose a C-state to enter for idle CPU, but it notice that there is tasks request to be executed. So the idle CPU will not really enter the target C-state and go to run task. In this situation, it will use the residency of previous really entered target C-states. Obviously, it is not reasonable. So, this patch fix it by set the target C-state residency to 0. Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: Youquan Song <youquan.song@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud