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

From: Rafael J. Wysocki
Date: Thu Apr 05 2018 - 09:52:29 EST


On Thu, Apr 5, 2018 at 2:32 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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.