summaryrefslogtreecommitdiffstats
path: root/ipc/util.h
diff options
context:
space:
mode:
authorDavidlohr Bueso <davidlohr.bueso@hp.com>2013-09-11 23:26:16 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-12 00:59:39 +0200
commit79ccf0f8c8e04e8b9eda6645ba0f63b0915a3075 (patch)
tree7178c7dbb1edd12689359f49da36d4e04de93cf8 /ipc/util.h
parentipc,shm: introduce lockless functions to obtain the ipc object (diff)
downloadlinux-79ccf0f8c8e04e8b9eda6645ba0f63b0915a3075.tar.xz
linux-79ccf0f8c8e04e8b9eda6645ba0f63b0915a3075.zip
ipc,shm: shorten critical region in shmctl_down
Instead of holding the ipc lock for the entire function, use the ipcctl_pre_down_nolock and only acquire the lock for specific commands: RMID and SET. Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com> Tested-by: Sedat Dilek <sedat.dilek@gmail.com> Cc: Rik van Riel <riel@redhat.com> Cc: Manfred Spraul <manfred@colorfullife.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions