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:
a5001a0
)
ipc,msg: make msgctl_nolock lockless
author
Davidlohr Bueso
<davidlohr.bueso@hp.com>
Mon, 8 Jul 2013 23:01:16 +0000
(16:01 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 9 Jul 2013 17:33:27 +0000
(10:33 -0700)
While the INFO cmd doesn't take the ipc lock, the STAT commands do
acquire it unnecessarily. We can do the permissions and security checks
only holding the rcu lock.
This function now mimics semctl_nolock().
Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/msg.c
patch
|
blob
|
history
diff --cc
ipc/msg.c
Simple merge