Re: [PATCH v5 1/8] smp: Run functions concurrently in smp_call_function_many_cond()
From: Peter Zijlstra
Date: Tue Feb 16 2021 - 07:08:39 EST
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);