[Devel] Re: [PATCH] cr_tests: Fix hang when robust futex lists are not restored during restart

Matt Helsley matthltc at us.ibm.com
Thu Jul 9 13:06:49 PDT 2009


On Thu, Jul 09, 2009 at 03:00:40PM -0500, Serge E. Hallyn wrote:
> Quoting Matt Helsley (matthltc at us.ibm.com):
> > The robust futex test can hang if the kernel fails to properly set the robust
> > list pointer. This currently happens during restart. The test should not
> > hang and instead should report failure.
> > 
> > Use a timeout to ensure that hangs are caught and reported as failure.
> > The timeout should return ETIMEDOUT. This limits the total amount of time
> > checkpoint/restart can take so a suitable timeout is essential here.
> > 
> > Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
> > Reported-by: Serge Hallyn <serue at linux.vnet.ibm.com>
> 
> Hey Matt,
> 
> last month you sent out a (short) kernel patch for robust futexes.
> Was that supposed to be enough to fully support c/r of robust futexes?
> 
> -serge

Yup. I need to get the update of that patch sent out but the old version
should still work I think.

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




More information about the Devel mailing list