On Mon, Jun 22, 2020 at 05:04:21PM +0300, Alexey Budankov wrote: SNIP
> >>>>> there might be some loose ends (interface change), but > >>>>> I think this would solve our problems with fdarray > >>>> > >>>> Your first patch accomodated in v8 actually avoids fds typing > >>>> and solves pos (=fdarray__add()) staleness issue with fdarray. > >>> > >>> yea, it was a change meant for discussion (which never happened), > >>> and I considered it to be more a hack than a solution > >>> > >>> I suppose we can live with that for a while, but I'd like to > >>> have clean solution for polling as well > >> > >> I wouldn't treat it as a hack but more as a fix because returned > >> pos is now a part of interface that can be safely used in callers. > >> Can we go with this fix for the patch set? > > > > apart from this one I still have a problem with that stat factoring > > having 1 complicated function deal with both fork and no fork processing, > > which I already commented on, but you ignored ;-) > > Not an issue at all, lets split that func, dispatch_events() I suppose, > as you see it. ok,I checked it one more time and perhaps the function naming was confusing for me.. but maybe we can give it another try, I'm sending some comments thanks, jirka