[CRIU] Re: [PATCH 7/8] eventpoll: Order eventpoll files creation

Cyrill Gorcunov gorcunov at openvz.org
Thu May 10 06:47:29 EDT 2012


On Thu, May 10, 2012 at 02:20:28PM +0400, Pavel Emelyanov wrote:
> 
> > +	if (unlikely(le->fe.type == FDINFO_EVENTPOLL)) {
> > +		if (is_eventpoll_dependent(&rst_info->eventpoll, le))
> > +			list_add_tail(&le->ps_list, &rst_info->eventpoll);
> > +		else
> > +			list_add(&le->ps_list, &rst_info->eventpoll);
> > +	} else
> >  		list_add_tail(&le->ps_list, &rst_info->fds);
> 
> This is kinda messy. It would be better if this looked like

OK

	Cyrill


More information about the CRIU mailing list