From: Youquan Song Date: Fri, 26 Oct 2012 10:26:59 +0000 (+0200) Subject: cpuidle: Set residency to 0 if target Cstate not enter X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~88^2~11^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d73d68dc49e09143e8e3bef10670a021c26ec4a5;p=pandora-kernel.git 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 Signed-off-by: Youquan Song Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed