Re: [RFC][PATCH v3 6/6] rcu/tree: Use irq_work_queue_remote()

From: Peter Zijlstra
Date: Wed Oct 28 2020 - 17:52:44 EST


On Wed, Oct 28, 2020 at 12:07:13PM +0100, Peter Zijlstra wrote:
> AFAICT we only need/use irq_work_queue_on() on remote CPUs, since we
> can directly access local state. So avoid the IRQ_WORK dependency and
> use the unconditionally available irq_work_queue_remote().
>
> This survives a number of TREE01 runs.

OK, Paul mentioned on IRC that while it is extremely unlikely, this code
does not indeed guarantee it will not try to IPI self.

I'll try again.