[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YCJdoovwxhlbJ4ln@hirez.programming.kicks-ass.net>
Date: Tue, 9 Feb 2021 11:02:10 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Jens Axboe <axboe@...nel.dk>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH 1/3] smp: Process pending softirqs in
flush_smp_call_function_from_idle()
On Sat, Jan 23, 2021 at 09:10:25PM +0100, Sebastian Andrzej Siewior wrote:
> send_call_function_single_ipi() may wake an idle CPU without sending an
> IPI. The woken up CPU will process the SMP-functions in
> flush_smp_call_function_from_idle(). Any raised softirq from within the
> SMP-function call will not be processed.
> Should the CPU have no tasks assigned, then it will go back to idle with
> pending softirqs and the NOHZ will rightfully complain.
>
> Process pending softirqs on return from flush_smp_call_function_queue().
>
> Fixes: b2a02fc43a1f4 ("smp: Optimize send_call_function_single_ipi()")
> Reported-by: Jens Axboe <axboe@...nel.dk>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Fair enough. I'll stick this in tip/sched/smp for Jens and merge that
into tip/sched/core.
Thanks!
Powered by blists - more mailing lists