aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2013-07-08 16:01:16 -0700
committerLinus Torvalds <[email protected]>2013-07-09 10:33:27 -0700
commitac0ba20ea6f2201a1589d6dc26ad1a4f0f967bb8 (patch)
treebc3e2e4c4140f07ee1861b724ba7e1b295d7bbc6 /lib/mpi/mpi-bit.c
parenta5001a0d9768568de5d613c3b3a5b9c7721299da (diff)
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 <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Rik van Riel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions