From: Davidlohr Bueso Date: Mon, 8 Jul 2013 23:01:16 +0000 (-0700) Subject: ipc,msg: make msgctl_nolock lockless X-Git-Tag: v3.11-rc1~67^2~33 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac0ba20ea6f2201a1589d6dc26ad1a4f0f967bb8;p=pandora-kernel.git ipc,msg: make msgctl_nolock lockless While the INFO cmd doesn't take the ipc lock, the STAT commands do acquire it unnecessarily. We can do the permissions and security checks only holding the rcu lock. This function now mimics semctl_nolock(). 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