Re: [PATCH v5 1/8] smp: Run functions concurrently in smp_call_function_many_cond()
From: Peter Zijlstra
Date: Thu Feb 18 2021 - 08:01:35 EST
On Thu, Feb 18, 2021 at 09:36:09AM +0000, Nadav Amit wrote:
> I prefer to export on_each_cpu_cond_mask() and instead turn the users
> (on_each_cpu(), on_each_cpu_mask() and on_each_cpu_cond()) into inline
> functions in smp.h.
That makes it impossible (barring LTO) for the compiler to do constant
propagation on the cond and mask thingies.