commit | 3dd1f784ed6603d7ab1043e51e6371235edf2313 | [log] [tgz] |
---|---|---|
author | Davidlohr Bueso <davidlohr.bueso@hp.com> | Mon Jul 08 16:01:17 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jul 09 10:33:27 2013 -0700 |
tree | 21bd41e3f445ca3ba3b96b24f53e9e4adc2ea1fb | |
parent | ac0ba20ea6f2201a1589d6dc26ad1a4f0f967bb8 [diff] |
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>