Skip to contentSkip to conversation

ipc/sem: fix livelock issue

PATCH New Mike Galbraith 1 participant 1 message Sep 13, 2013

lore
Share & tools
lore
#0 lore raw

cover 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