tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: epoll exposure

On Mon, Jul 31, 2023 at 04:27:32AM -0700, Jason Thorpe wrote:
> > On Jul 31, 2023, at 1:38 AM, nia <> wrote:
> > 
> > Hey, I regret that epoll was committed without further discussion with
> > pkgsrc developers. We have a lot of experience with this already
> > (illumos/SmartOS exposes a compatibility epoll) and the situation is
> > not entirely great and requires lots of workarounds.
> What’s even worse … I think our epoll() emulation isn’t 100% compatible w/ Linux’s.  It wouldn’t bother me so much if it were, but I’m pretty sure it’s not.
> (IIRC, epoll descriptors are inherited across fork, and if ours is emulated with kqueue under the covers, then that can’t work…)
> -- thorpej

Oops. Then it definitely shouldn't be such a public interface...

Home | Main Index | Thread Index | Old Index