From: Davidlohr Bueso Date: Mon, 8 Jul 2013 23:01:17 +0000 (-0700) Subject: ipc,msg: shorten critical region in msgsnd X-Git-Tag: v3.11-rc1~67^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dd1f784ed6603d7ab1043e51e6371235edf2313;p=pandora-kernel.git 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 Cc: Andi Kleen Cc: Rik van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed