tech-userlevel archive

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

Re: epoll exposure

> 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

Home | Main Index | Thread Index | Old Index