[PATCH] Add Solaris ports as a tevent backend.

Jeremy Allison jra at samba.org
Thu Feb 12 18:22:08 MST 2015


On Thu, Feb 12, 2015 at 07:21:38PM -0500, Ira Cooper wrote:
> What happens if someone has epoll + Solaris ports?  I know that the Illumos
> folks have been implementing various Linux syscalls...  (You have a #ifdef
> that needs checking at least...)

Let me know when they add that.

I don't think it's worth even trying to get the logic for
that right in the code until it actually exists.

IMHO it's about as likely as Linux adding ports :-).

> I'm going to say, you are going against part of the goal of a ports backend, by
> traversing all the registered events.  The goal is not to have performance
> scale with the number of registered events.  (Like the poll backend.)

I'm not walking all the registered events. The port_associate_vals
struct is a separate (doubly) linked list hung off a port event.
Not the same thing.


More information about the samba-technical mailing list