linux-next 20170519 - semaphores broken

From: valdis . kletnieks
Date: Sat May 20 2017 - 20:33:41 EST

Seeing problems with programs that use semaphores. The one
that I'm getting bit by is jackd. strace says:

getuid() = 967
semget(0x282929, 0, 000) = 229376
semop(229376, [{0, -1, SEM_UNDO}], 1) = -1 EIDRM (Identifier removed)
write(2, "JACK semaphore error: semop (Ide"..., 49JACK semaphore error: semop (Identifier removed)
) = 49

Bisects down to this commit, and reverting it from 20170519 makes things work
again. No idea why this causes indigestion, there's probably something subtly
wrong here....

commit 337f43326737b5eb28eb13f43c27a5788da0f913
Author: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx>
Date: Fri May 19 07:39:23 2017 +1000

ipc: merge ipc_rcu and kern_ipc_perm

ipc has two management structures that exist for every id:
- struct kern_ipc_perm, it contains e.g. the permissions.
- struct ipc_rcu, it contains the rcu head for rcu handling and
the refcount.

Attachment: pgpLQnYkU3Ehe.pgp
Description: PGP signature