ipc: sem_putref() does not need the semaphore lock any more
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 May 2013 22:22:00 +0000 (15:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 4 May 2013 18:24:21 +0000 (11:24 -0700)
commit73b29505c36eeb4751eccad41f6aad78562521f8
tree228603617659029e082a0968b2e0a6490c121b0d
parent6d49dab8ae06c6d35a4d0967364a9ecbe8fdea2c
ipc: sem_putref() does not need the semaphore lock any more

ipc_rcu_putref() uses atomics for the refcount, and the games to lock
and unlock the semaphore just to try to keep the reference counting
working are no longer useful.

Acked-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/sem.c