linux/drivers/cpuidle
Youquan Song d73d68dc49 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>
2012-11-15 00:34:20 +01:00
..
governors cpuidle: Quickly notice prediction failure in general case 2012-11-15 00:34:20 +01:00
coupled.c cpuidle: Prevent null pointer dereference in cpuidle_coupled_cpu_notify 2012-08-17 19:37:08 +02:00
cpuidle.c cpuidle: Set residency to 0 if target Cstate not enter 2012-11-15 00:34:20 +01:00
cpuidle.h cpuidle / sysfs: change function parameter 2012-11-15 00:34:19 +01:00
driver.c cpuidle: rename function name "__cpuidle_register_driver", v2 2012-09-22 00:38:32 +02:00
governor.c cpuidle: create bootparam "cpuidle.off=1" 2011-08-03 19:06:36 -04:00
Kconfig cpuidle: add support for states that affect multiple cpus 2012-06-02 00:49:09 -04:00
Makefile cpuidle: add support for states that affect multiple cpus 2012-06-02 00:49:09 -04:00
sysfs.c cpuidle / sysfs: move kobj initialization in the syfs file 2012-11-15 00:34:19 +01:00