git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b8d52a
)
ipc,shm: shorten critical region in shmctl_down
author
Davidlohr Bueso
<davidlohr.bueso@hp.com>
Wed, 11 Sep 2013 21:26:16 +0000
(14:26 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:59:39 +0000
(15:59 -0700)
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>
ipc/shm.c
patch
|
blob
|
history
diff --cc
ipc/shm.c
Simple merge