Re: [PATCH 03/11] smp: Remove get_cpu from smp_call_function_any

From: Muchun Song

Date: Thu Feb 05 2026 - 01:04:11 EST




> On Feb 3, 2026, at 19:23, Chuyi Zhou <zhouchuyi@xxxxxxxxxxxxx> wrote:
>
> Now smp_call_function_single() would enable preemption before
> csd_lock_wait() to reduce the critical section. To allow callers of
> smp_call_function_any() to also benefit from this optimization, remove
> get_cpu()/put_cpu() from smp_call_function_any().
>
> Signed-off-by: Chuyi Zhou <zhouchuyi@xxxxxxxxxxxxx>

Reviewed-by: Muchun Song <muchun.song@xxxxxxxxx>

Thanks.