diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-10-02 23:42:56 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-10-04 19:24:14 +0200 |
commit | 23e8ceb9ce766c81d62434053aef6e7efea6fcc3 (patch) | |
tree | 0d7d20b5ba6677db8076fd92f839a098d5c77752 /virt | |
parent | cpuidle: menu: Fix wakeup statistics updates for polling state (diff) | |
download | linux-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