Re: [PATCH 2/2] ipc,sem: remove uneeded sem_undo_list lock usage in exit_sem()

From: Manfred Spraul
Date: Tue Aug 11 2015 - 14:31:15 EST

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@xxxxxxxxxx>
Acked-by: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at