[PATCH 0/2] ipc/sem.c: sem_lock fixes

From: Manfred Spraul
Date: Wed Jul 13 2016 - 01:08:11 EST


Hi Andrew, Hi Peter,

next version of the sem_lock() fixes:
The patches are again vs. tip.

Patch 1 is ready for merging, Patch 2 is for review.

- Patch 1 is the patch as in -next since January
It fixes the race that was found by Felix.
- Patch 2 removes the memory barriers that are part of the qspinlock
code.
- (The hysteresis patch would be patch 3. The risk of regressions
can't be ruled out, thus it must wait for benchmarks from real
workload tests)

Patch 1+2 were one patch, I've split patches so that review and
backporting are simpler.

--
Manfred