Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PATCH 2/2] ipc,sem: remove uneeded sem_undo_list lock usage in exit_sem() | From | Manfred Spraul <> | Date | Tue, 11 Aug 2015 20:31:05 +0200 |
| |
On 08/11/2015 07:19 PM, Herton R. Krzesinski wrote: > 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>
-- Manfred
| ![\](/images/icornerr.gif) |