From: Davidlohr Bueso Date: Wed, 11 Sep 2013 21:26:20 +0000 (-0700) Subject: ipc,shm: make shmctl_nolock lockless X-Git-Tag: v3.12-rc1~52^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c97cb9ccab8c85428ec21eff690642ad2ce1fa8a;p=pandora-kernel.git ipc,shm: make shmctl_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. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Davidlohr Bueso Tested-by: Sedat Dilek Cc: Rik van Riel Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed