diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-04 19:47:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-05 02:20:14 +0200 |
commit | 321310ced2d6cc0175c76fa512fa8a829ee35223 (patch) | |
tree | 0722d86daa8778a69207965cc6bc005d0def9f08 /scripts/bloat-o-meter | |
parent | ipc: fix double sem unlock in semctl error path (diff) | |
download | linux-321310ced2d6cc0175c76fa512fa8a829ee35223.tar.xz linux-321310ced2d6cc0175c76fa512fa8a829ee35223.zip |
ipc: move sem_obtain_lock() rcu locking into the only caller
sem_obtain_lock() was another of those functions that returned with the
RCU lock held for reading in the success case. Move the RCU locking to
the caller (semtimedop()), making it more obvious. We already did RCU
locking elsewhere in that function.
Side note: why does semtimedop() re-do the semphore lookup after the
sleep, rather than just getting a reference to the semaphore it already
looked up originally?
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>
Diffstat (limited to 'scripts/bloat-o-meter')
0 files changed, 0 insertions, 0 deletions