diff options
| author | Herton R. Krzesinski <[email protected]> | 2015-08-14 22:35:05 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-08-14 22:56:32 +0000 |
| commit | a97955844807e327df11aa33869009d14d6b7de0 (patch) | |
| tree | 20d83d811aa907898be0b09b6c4c94f8789e7224 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | ipc,sem: fix use after free on IPC_RMID after a task using same semaphore set... (diff) | |
| download | kernel-a97955844807e327df11aa33869009d14d6b7de0.tar.gz kernel-a97955844807e327df11aa33869009d14d6b7de0.zip | |
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 <[email protected]>
Acked-by: Manfred Spraul <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Rafael Aquini <[email protected]>
CC: Aristeu Rozanski <[email protected]>
Cc: David Jeffery <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
