Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

From: Linus Torvalds
Date: Thu Jul 12 2018 - 14:11:12 EST


On Thu, Jul 12, 2018 at 11:05 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> The locking pattern is fairly simple and shows where RCpc comes apart
> from expectation real nice.

So who does RCpc right now for the unlock-lock sequence? Somebody
mentioned powerpc. Anybody else?

How nasty would be be to make powerpc conform? I will always advocate
tighter locking and ordering rules over looser ones..

Linus