Skip to content

ipc/sem: fix livelock issue

Mike Galbraith linux-rt-users 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/3] ipc/sem: fix livelock issue

This series:
1. removes live lockable retry loop in sem_lock().
2. reverts the current -rt wakeup scheme
3. replaces it with a new completion scheme

Removing the retry loop alone fixes the livelock problem, but the current -rt wakeup scheme then ensures that wakees see the array lock in a locked state, which split lock semantics require they react to by taking the array lock themselves, defeating the whole purpose of splitting the lock into simple/complex operation locks.

-Mike