diff options
author | Davidlohr Bueso <davidlohr.bueso@hp.com> | 2013-07-09 03:01:17 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 21:33:27 +0400 |
commit | 3dd1f784ed6603d7ab1043e51e6371235edf2313 (patch) | |
tree | 21bd41e3f445ca3ba3b96b24f53e9e4adc2ea1fb /include/linux/pci-dma.h | |
parent | ac0ba20ea6f2201a1589d6dc26ad1a4f0f967bb8 (diff) | |
download | linux-3dd1f784ed6603d7ab1043e51e6371235edf2313.tar.xz |
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 'include/linux/pci-dma.h')
0 files changed, 0 insertions, 0 deletions