summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-10-02 23:42:56 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-10-04 19:24:14 +0200
commit23e8ceb9ce766c81d62434053aef6e7efea6fcc3 (patch)
tree0d7d20b5ba6677db8076fd92f839a098d5c77752 /virt
parentcpuidle: menu: Fix wakeup statistics updates for polling state (diff)
downloadlinux-23e8ceb9ce766c81d62434053aef6e7efea6fcc3.tar.xz
linux-23e8ceb9ce766c81d62434053aef6e7efea6fcc3.zip
cpuidle: menu: Compute first_idx when latency_req is known
Since menu_select() can only set first_idx to 1 if the exit latency of the second state is not greater than the latency limit, it should first determine that limit. Thus first_idx should be computed after the "interactivity" factor has been taken into account. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewedy-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions