Re: [PATCH 3.10 282/319] ipc/sem.c: fix complex_count vs. simple op race

From: Willy Tarreau
Date: Mon Feb 06 2017 - 03:06:18 EST


On Sun, Feb 05, 2017 at 08:21:44PM +0100, Willy Tarreau wrote:
> From: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx>
>
> commit 5864a2fd3088db73d47942370d0f7210a807b9bc upstream.
>
> Commit 6d07b68ce16a ("ipc/sem.c: optimize sem_lock()") introduced a
> race:

Finally dropped in favor of a revert of the patch above as it broke
the build on some architectures.

Willy