summaryrefslogtreecommitdiffstats
path: root/ipc/util.h
diff options
context:
space:
mode:
authorHerton R. Krzesinski <herton@redhat.com>2015-08-14 15:35:05 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-08-14 15:56:32 -0700
commita97955844807e327df11aa33869009d14d6b7de0 (patch)
tree20d83d811aa907898be0b09b6c4c94f8789e7224 /ipc/util.h
parent602b8593d2b4138c10e922eeaafe306f6b51817b (diff)
downloadop-kernel-dev-a97955844807e327df11aa33869009d14d6b7de0.zip
op-kernel-dev-a97955844807e327df11aa33869009d14d6b7de0.tar.gz
ipc,sem: remove uneeded sem_undo_list lock usage in exit_sem()
After we acquire the sma->sem_perm lock in exit_sem(), we are protected against a racing IPC_RMID operation. Also at that point, we are the last user of sem_undo_list. Therefore it isn't required that we acquire or use ulp->lock. Signed-off-by: Herton R. Krzesinski <herton@redhat.com> Acked-by: Manfred Spraul <manfred@colorfullife.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: Rafael Aquini <aquini@redhat.com> CC: Aristeu Rozanski <aris@redhat.com> Cc: David Jeffery <djeffery@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud