summaryrefslogtreecommitdiff
path: root/include/linux/if_link.h
diff options
context:
space:
mode:
authorDavidlohr Bueso <davidlohr.bueso@hp.com>2013-07-09 03:01:16 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 21:33:27 +0400
commitac0ba20ea6f2201a1589d6dc26ad1a4f0f967bb8 (patch)
treebc3e2e4c4140f07ee1861b724ba7e1b295d7bbc6 /include/linux/if_link.h
parenta5001a0d9768568de5d613c3b3a5b9c7721299da (diff)
downloadlinux-ac0ba20ea6f2201a1589d6dc26ad1a4f0f967bb8.tar.xz
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 'include/linux/if_link.h')
0 files changed, 0 insertions, 0 deletions