Re: [PATCH 1/3] cpuidle/menu: stop seeking deeper idle if current state is too deep

From: Arjan van de Ven
Date: Thu Jan 05 2017 - 10:55:34 EST


On 1/5/2017 7:43 AM, Rik van Riel wrote:
On Thu, 2017-01-05 at 23:29 +0800, Alex Shi wrote:
The obsolete commit 71abbbf85 want to introduce a dynamic cstates,
but it was removed for long time. Just left the nonsense deeper
cstate
checking.

Since all target_residency and exit_latency are going longer in
deeper
idle state, no needs to waste some cpu cycle on useless seeking.

Makes me wonder if it would be worth documenting the
requirement that c-states be listed in increasing
order?

or better, a boot time quick check...