summaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-05-04 19:13:40 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-05 02:19:39 +0200
commit4091fd942e96af5a0b1dfa6aac5f44153ebf7cdb (patch)
tree0455a439ad1a9884018286670e49c4e18cfaa359 /kernel/rcutree.h
parentipc: sem_putref() does not need the semaphore lock any more (diff)
downloadlinux-4091fd942e96af5a0b1dfa6aac5f44153ebf7cdb.tar.xz
linux-4091fd942e96af5a0b1dfa6aac5f44153ebf7cdb.zip
ipc: move the rcu_read_lock() from sem_lock_and_putref() into callers
This is another ipc semaphore locking cleanup, trying to make the locking more straightforward. We move the rcu read locking into the callers of sem_lock_and_putref(), which in general means that we now mostly do the rcu_read_lock() and rcu_read_unlock() in the same function. Mostly. We still have the ipc_addid/newary/freeary mess, and things like ipcctl_pre_down_nolock(). 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 'kernel/rcutree.h')
0 files changed, 0 insertions, 0 deletions