Re: [PATCH v4 1/9] smp: Run functions concurrently in smp_call_function_many()

2019-08-26 Thread Nadav Amit
> On Aug 23, 2019, at 3:41 PM, Nadav Amit wrote: > > Currently, on_each_cpu() and similar functions do not exploit the > potential of concurrency: the function is first executed remotely and > only then it is executed locally. Functions such as TLB flush can take > considerable time, so this

[PATCH v4 1/9] smp: Run functions concurrently in smp_call_function_many()

2019-08-24 Thread Nadav Amit
Currently, on_each_cpu() and similar functions do not exploit the potential of concurrency: the function is first executed remotely and only then it is executed locally. Functions such as TLB flush can take considerable time, so this provides an opportunity for performance optimization. To do so,