aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorDavidlohr Bueso <davidlohr.bueso@hp.com>2013-09-11 14:26:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 15:59:39 -0700
commitc97cb9ccab8c85428ec21eff690642ad2ce1fa8a (patch)
treec435476a079d3bff28ec8c67377227effba57ca9 /COPYING
parentipc,shm: introduce shmctl_nolock (diff)
downloadlinux-dev-c97cb9ccab8c85428ec21eff690642ad2ce1fa8a.tar.xz
linux-dev-c97cb9ccab8c85428ec21eff690642ad2ce1fa8a.zip
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 <davidlohr.bueso@hp.com> Tested-by: Sedat Dilek <sedat.dilek@gmail.com> Cc: Rik van Riel <riel@redhat.com> Cc: Manfred Spraul <manfred@colorfullife.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions