Re: [PATCH 6/6] eventpoll: add support for min-wait

From: Willem de Bruijn
Date: Tue Nov 08 2022 - 17:29:37 EST


> > This would be similar to the approach that willemb@xxxxxxxxxx used
> > when introducing epoll_pwait2.
>
> I have, see other replies in this thread, notably the ones with Stefan
> today. Happy to do that, and my current branch does split out the ctl
> addition from the meat of the min_wait support for this reason. Can't
> seem to find a great way to do it, as we'd need to move to a struct
> argument for this as epoll_pwait2() is already at max arguments for a
> syscall. Suggestions more than welcome.

Expect an array of two timespecs as fourth argument?