[CRIU] Re: [PATCH 08/14] files: Restore epolls lately

Pavel Emelyanov xemul at parallels.com
Thu May 3 10:12:04 EDT 2012


On 05/03/2012 05:46 PM, Cyrill Gorcunov wrote:
> On Thu, May 03, 2012 at 05:45:19PM +0400, Cyrill Gorcunov wrote:
>>
>> and restore stuck. Which comes from pipes.c:recv_pipe_fd so I believe
>> ordering of pipe ends creation does matter (or there is a bug in pipes.c,
>> Andrew?).
>>
> 
> Btw, if one change list_add_tail(&le->ps_list, fds); to plain
> list_add(&le->ps_list, fds);, the pipe tests are stuck as well.

Yes, I see... This order matters.

How it looks in this patch doesn't look very elegant. Look at how the
pernet operations and pernet devices are organized in kernel and do the
same way.

> 	Cyrill
> 



More information about the CRIU mailing list