Messages in this thread | | | Date | Thu, 18 Feb 2021 12:12:28 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH v5 1/8] smp: Run functions concurrently in smp_call_function_many_cond() |
| |
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.
| |