[PATCH v10 00/12] barrier: Add smp_cond_load_{relaxed,acquire}_timeout()

Catalin Marinas catalin.marinas at arm.com
Wed Mar 25 06:53:50 PDT 2026


On Tue, Mar 17, 2026 at 09:17:05AM +0000, David Laight wrote:
> On Mon, 16 Mar 2026 23:53:22 -0700
> Ankur Arora <ankur.a.arora at oracle.com> wrote:
> > David Laight <david.laight.linux at gmail.com> writes:
> > > On arm64 I think you could use explicit sev and wfe - but that will wake all
> > > 'sleeping' cpu; and you may not want the 'thundering herd'.  
> > 
> > Wouldn't we still have the same narrow window where the CPU disregards the IPI?
> 
> You need a 'sevl' in the interrupt exit path.

No need to, see the rule below in
https://developer.arm.com/documentation/ddi0487/maa/2983-beijhbbd:

R_XRZRK
  The Event Register for a PE is set by any of the following:
  [...]
  - An exception return.

-- 
Catalin



More information about the linux-arm-kernel mailing list