From: Davidlohr Bueso Date: Mon, 8 Jul 2013 23:01:14 +0000 (-0700) Subject: ipc,msg: introduce msgctl_nolock X-Git-Tag: v3.11-rc1~67^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cafed30f150f7314f98717b372df8173516cae0;p=pandora-kernel.git ipc,msg: introduce msgctl_nolock Similar to semctl, when calling msgctl, the *_INFO and *_STAT commands can be performed without acquiring the ipc object. Add a msgctl_nolock() function and move the logic of *_INFO and *_STAT out of msgctl(). This change still takes the lock and it will be properly lockless in the next patch 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