[CRIU] [PATCH v2] seize: Wait the freezer to complete before processing tags

Cyrill Gorcunov gorcunov at gmail.com
Fri Jul 15 11:17:33 PDT 2016


On Fri, Jul 15, 2016 at 09:06:20PM +0300, Pavel Emelyanov wrote:
> 
> > @@ -291,45 +304,38 @@ static int freeze_processes(void)
> >  			close(fd);
> >  			return -1;
> >  		}
> > -	}
> >  
> > -	/*
> > -	 * There is not way to wait a specified state, so we need to poll the
> > -	 * freezer.state.
> > -	 * Here is one extra attempt to check that everything are frozen.
> > -	 */
> > -	for (i = 0; i <= nr_attempts; i++) {
> 
> Which tree is it against? There's timeout handling declarations here.

I guess something get lost again. Drop this patch please.


More information about the CRIU mailing list