Thread (34 messages) 34 messages, 6 authors, 2026-04-03

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

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2026-03-25 13:53:57
Also in: bpf, linux-arch, linux-pm, lkml

On Tue, Mar 17, 2026 at 09:17:05AM +0000, David Laight wrote:
On Mon, 16 Mar 2026 23:53:22 -0700
Ankur Arora [off-list ref] wrote:
quoted
David Laight [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help