[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/6] libxl: events: Deregister, don't just modify, sigchld pipe fd
On Fri, 2014-11-28 at 14:42 +0000, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH 3/6] libxl: events: Deregister, don't just > modify, sigchld pipe fd"): > > On Thu, 2014-11-27 at 18:27 +0000, Ian Jackson wrote: > > > We want to have no fd events registered when we are idle. This > > > implies that we must be able to deregister our interest in the sigchld > > > self-pipe fd, not just modify to request no events. > > > > > > Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> > > > > Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> > > > > I think in principal there is now some redundant code in > > libxl__sigchld_needed which calls modify to set POLLIN if the fd is not > > registered. I think it's redundant because now the fd is registered iff > > it is looking for POLLIN. > > You're right. (Although you mean `calls modify if the fd /is/ > registered'.) Indeed. > I wonder if it would be better to leave tidying that up until > post-4.5, in case we are wrong. Sure. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |