diff options
author | Davidlohr Bueso | 2013-07-09 01:01:16 +0200 |
---|---|---|
committer | Linus Torvalds | 2013-07-09 19:33:27 +0200 |
commit | ac0ba20ea6f2201a1589d6dc26ad1a4f0f967bb8 (patch) | |
tree | bc3e2e4c4140f07ee1861b724ba7e1b295d7bbc6 /fs/udf | |
parent | ipc,msg: introduce lockless functions to obtain the ipc object (diff) | |
download | kernel-qcow2-linux-ac0ba20ea6f2201a1589d6dc26ad1a4f0f967bb8.tar.gz kernel-qcow2-linux-ac0ba20ea6f2201a1589d6dc26ad1a4f0f967bb8.tar.xz kernel-qcow2-linux-ac0ba20ea6f2201a1589d6dc26ad1a4f0f967bb8.zip |
ipc,msg: make msgctl_nolock lockless
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>
Diffstat (limited to 'fs/udf')
0 files changed, 0 insertions, 0 deletions