summaryrefslogtreecommitdiff
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <davidlohr.bueso@hp.com>2013-09-11 21:26:26 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 22:59:43 (GMT)
commit05603c44a7627793219b0bd9a7b236099dc9cd9d (patch)
tree7efa266f81f6b68861bbea6cbda6baec48267408 /ipc/shm.c
parent4718787d1f626f45ddb239912bc07266b9880044 (diff)
downloadlinux-fsl-qoriq-05603c44a7627793219b0bd9a7b236099dc9cd9d.tar.xz
ipc: document general ipc locking scheme
As suggested by Andrew, add a generic initial locking scheme used throughout all sysv ipc mechanisms. Documenting the ids rwsem, how rcu can be enough to do the initial checks and when to actually acquire the kern_ipc_perm.lock spinlock. I found that adding it to util.c was generic enough. 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 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions