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

From: Peter Zijlstra
Date: Thu Apr 05 2018 - 08:32:37 EST


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.