diff options
author | Davidlohr Bueso | 2013-07-09 01:01:17 +0200 |
---|---|---|
committer | Linus Torvalds | 2013-07-09 19:33:27 +0200 |
commit | 3dd1f784ed6603d7ab1043e51e6371235edf2313 (patch) | |
tree | 21bd41e3f445ca3ba3b96b24f53e9e4adc2ea1fb /fs/debugfs/file.c | |
parent | ipc,msg: make msgctl_nolock lockless (diff) | |
download | kernel-qcow2-linux-3dd1f784ed6603d7ab1043e51e6371235edf2313.tar.gz kernel-qcow2-linux-3dd1f784ed6603d7ab1043e51e6371235edf2313.tar.xz kernel-qcow2-linux-3dd1f784ed6603d7ab1043e51e6371235edf2313.zip |
ipc,msg: shorten critical region in msgsnd
do_msgsnd() is another function that does too many things with the ipc
object lock acquired. Take it only when needed when actually updating
msq.
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/debugfs/file.c')
0 files changed, 0 insertions, 0 deletions