]> git.baikalelectronics.ru Git - kernel.git/commit
intel_pstate: Take core C0 time into account for core busy calculation
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Mon, 3 Feb 2014 16:55:31 +0000 (08:55 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Feb 2014 20:41:15 +0000 (21:41 +0100)
commite6f7384944777abb5c968f701a3c79155714c947
tree7522e9ed862c6a149df7893a98abb96cd9ec23c4
parented4c0e42e851d5178cd0d1dc05de408325576e1c
intel_pstate: Take core C0 time into account for core busy calculation

Take non-idle time into account when calculating core busy time.
This ensures that intel_pstate will notice a decrease in load.

References: https://bugzilla.kernel.org/show_bug.cgi?id=66581
Cc: 3.10+ <stable@vger.kernel.org> # 3.10+
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c