Re: [patch V2 1/8] signal: Prevent exec() race

From: Peter Zijlstra

Date: Wed Sep 09 2026 - 06:31:21 EST


On Wed, Sep 09, 2026 at 11:55:19AM +0200, Peter Zijlstra wrote:
> D-E is a UNLOCK+LOCK hand-over, which is not quite the same as
> RELEASE+ACQUIRE. Specifically, we have:
>
> RELEASE+ACQUIRE: RCpc, only the CPUs involved agree on the ordering
> UNLOCK+LOCK: RCtso, the hand-over is store-ordering
>

For those that case: UNLOCK+LOCK is RCsc on all architectures except
Power.