[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <55CA3F69.7040101@colorfullife.com>
Date: Tue, 11 Aug 2015 20:31:05 +0200
From: Manfred Spraul <manfred@...orfullife.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: "Herton R. Krzesinski" <herton@...hat.com>,
linux-kernel@...r.kernel.org, Davidlohr Bueso <dave@...olabs.net>,
Rafael Aquini <aquini@...hat.com>,
Joe Perches <joe@...ches.com>,
Aristeu Rozanski <aris@...hat.com>, djeffery@...hat.com
Subject: Re: [PATCH 2/2] ipc,sem: remove uneeded sem_undo_list lock usage in
exit_sem()
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@...hat.com>
Acked-by: Manfred Spraul <manfred@...orfullife.com>
--
Manfred
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists