Re: [PATCH v6 04/12] smp: Use task-local IPI cpumask in smp_call_function_many_cond()

From: Sebastian Andrzej Siewior

Date: Wed Jun 03 2026 - 08:26:26 EST


On 2026-06-03 19:48:50 [+0800], Chuyi Zhou wrote:
> Thanks for pointing this out.
>
> The NULL fallback in smp_call_function_many_cond() is intentional for
> cases where no task-local mask is available, such as !PREEMPT kernels or
> static/early tasks. In those cases it falls back to the per-CPU mask and
> keeps the existing preemption-disabled behavior.

Yes, I am aware of this. I just wanted to point a case where a task has
no mask associated.

Sebastian