On Thu, 15 Feb 2018, Frederic Weisbecker wrote: > This check is racy but provides a good heuristic to determine whether > a CPU may need a remote tick or not. >
> +int tick_nohz_tick_stopped_cpu(int cpu) s/int/bool/ but I'm not religious about that. > +{ > + struct tick_sched *ts = per_cpu_ptr(&tick_cpu_sched, cpu); > + > + return ts->tick_stopped; > +} Other than that nit: Reviewed-by: Thomas Gleixner <t...@linutronix.de>