From: Davidlohr Bueso Date: Mon, 8 Jul 2013 23:01:18 +0000 (-0700) Subject: ipc,msg: shorten critical region in msgrcv X-Git-Tag: v3.11-rc1~67^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41a0d523d0f626e9da0dc01de47f1b89058033cf;p=pandora-kernel.git ipc,msg: shorten critical region in msgrcv do_msgrcv() is the last msg queue function that abuses the ipc lock Take it only when needed when actually updating msq. Signed-off-by: Davidlohr Bueso Cc: Andi Kleen Cc: Rik van Riel Tested-by: Sedat Dilek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed