Re: [PATCH v2] MIPS: smp: report dying CPU to RCU in stop_this_cpu()

From: Jonas Jelonek

Date: Fri Jun 19 2026 - 03:53:38 EST


Hi,

On 19.06.26 09:43, Sebastian Andrzej Siewior wrote:
> On 2026-06-08 09:37:29 [+0000], Jonas Jelonek wrote:
>> smp_send_stop() parks all secondary CPUs in stop_this_cpu(). The function
>> marks the CPU offline for the scheduler via set_cpu_online(false) but
>> never informs RCU, so RCU keeps expecting a quiescent state from CPUs
>> that are now spinning forever with interrupts disabled.
>
>> Fixes: 91840be8f710 ("irq_work: Fix use-after-free in irq_work_single() on PREEMPT_RT")
>> CC: stable@xxxxxxxxxxxxxxx
>> Signed-off-by: Jonas Jelonek <jelonek.jonas@xxxxxxxxx>
> Sorry for being late.
>
> Reviewed-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
>
> Sebastian

Thanks to both of you. The patch has been accepted and merged already
(silently) [1]. But I appreciate your reviews a lot.

Best,
Jonas

[1] https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/commit/?id=9f3f3bdc6d9dac1a5a8262ee7ad0f2ff1527a7e7