From: Davidlohr Bueso Date: Mon, 8 Jul 2013 23:01:13 +0000 (-0700) Subject: ipc,msg: shorten critical region in msgctl_down X-Git-Tag: v3.11-rc1~67^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15724ecb7e9bab35fc694c666ad563adba820cc3;p=pandora-kernel.git ipc,msg: shorten critical region in msgctl_down Instead of holding the ipc lock for the entire function, use the ipcctl_pre_down_nolock and only acquire the lock for specific commands: RMID and SET. 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