[CRIU] [PATCH] restore: fix race in calculation of a number of zombies
Pavel Emelyanov
xemul at parallels.com
Mon Aug 3 07:12:25 PDT 2015
On 08/03/2015 04:32 PM, Tycho Andersen wrote:
> On Mon, Aug 03, 2015 at 02:37:55PM +0300, Andrew Vagin wrote:
>> Currently each task subtracts number of zombies from
>> task_entries->nr_threads without locks, so if two tasks will do this
>> operation concurrently, the result may be unpredictable.
>>
>> https://github.com/xemul/criu/issues/13
>>
>> Cc: Tycho Andersen <tycho.andersen at canonical.com>
>
> Whoops, sorry about that,
>
> Acked-by: Tycho Andersen <tycho.andersen at canonical.com>
>
>> Signed-off-by: Andrew Vagin <avagin at openvz.org>
Applied, thanks.
More information about the CRIU
mailing list