Re: osq_lock on arm64

From: Marc Zyngier

Date: Sun Mar 15 2026 - 18:03:04 EST


On Sun, 15 Mar 2026 20:11:53 +0000,
David Laight <david.laight.linux@xxxxxxxxx> wrote:

[...]

> The documentation I found for the arm64 instruction set doesn't mention that
> losing the exclusive access requested by ldx will wake wfe, I assume that
> is an omission from the docs?

R_XRZRK explicitly calls for "The clearing of the global monitor for
the PE." as a something that sets the event register, and therefore
acts as a wake-up event from WFE.

M.

--
Jazz isn't dead. It just smells funny.