Re: [PATCH v9 09/10] cpuidle: menu: Refine idle state selection for running tick

Rafael J. Wysocki
2018-04-05T13:52:25Z

On Thu, Apr 5, 2018 at 2:32 PM, Peter Zijlstra <peterz@infradead.org> wrote:
> On Wed, Apr 04, 2018 at 10:49:34AM +0200, Rafael J. Wysocki wrote:
>> + data->next_timer_us = ktime_to_us(tick_nohz_get_sleep_length(&delta_next));
>> + unsigned int delta_next_us = ktime_to_us(delta_next);
>
> We really should be looking at removing all that us nonsense from the
> idle code, but that'll be another series.

Right.