On Tue, Feb 09, 2021 at 02:16:46PM -0800, Nadav Amit wrote:
>  void smp_call_function_many(const struct cpumask *mask,
>                           smp_call_func_t func, void *info, bool wait)
>  {
> +     smp_call_function_many_cond(mask, func, info, wait ? SCF_WAIT : 0, 
> NULL);

        wait*SCF_WAIT

is shorter and sometimes generates better code

>  }
>  EXPORT_SYMBOL(smp_call_function_many);

Reply via email to