Re: [RFC PATCH v1 04/11] sched/idle: make the fast idle path for short idle periods

Peter Zijlstra
2017-07-12T12:20:03Z

On Tue, Jul 11, 2017 at 06:33:55PM +0200, Frederic Weisbecker wrote:
> if (!tick_nohz_full_cpu(smp_processor_id()) && likely(predicted_idle_us < short_idle_threshold))
> cpuidle_fast();
>
> Ugly but safer!

I'd not overly worry about this, cpuidle_fast() isn't anything that's
likely to ever happen.