On Tue, Aug 04, 2009 at 01:03:03PM -0500, Serge E. Hallyn wrote:
> [ will apply this patch to cr_tests unless Matt has comments ]
> 
> Freezing the robust futex waiters makes the syscall return with
> -EINTR.  The task then ends up caling futex_wait_restart.  If
> the futex value has already been changed by the parent, then
> the futex_wait_restart will return -EAGAIN.
> 
> If that happens, have the kid create a file called 'TBROK'
> and exit so the parent can reap it.  The run.sh shell is
> rewritten so it will rerun the test if the file TBROK has
> been created.
> 
> (note this has little to do with c/r, but rather with how
> the freezer affects the futex api)

Thanks for making and testing the fix.

Acked-by: Matt Helsley <[email protected]>

<snip>

Cheers,
        -Matt Helsley
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to