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

From: Peter Zijlstra
Date: Wed Jul 12 2017 - 08:20:20 EST


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.