Re: [rfc] epoll interface change and glibc bits ...

From: Davide Libenzi (davidel@xmailserver.org)
Date: Mon Nov 18 2002 - 18:09:36 EST


On Mon, 18 Nov 2002, Dan Kegel wrote:

> Ulrich wrote:
> >> epoll does hook f_op->poll() and hence uses the asm/poll.h bits.
> >
> > It does today. We are talking about "you promise that this will be the
> > case ever after or we'll cut your head off". I have no idea why you're
> > so reluctant since you don't have to maintain any of the user-level
> > bits. And it is not you who has to deal with the fallout of a change
> > when it happens.
> >
> > If epoll is so different from poll (and this is what I've been told frmo
> > Davide) then there should be a clear separation of the interfaces and
> > all those arguing to unify the data types and constants better should
> > rethink there understanding.
>
> epoll is not really that different from poll, is it?
> It delivers edge-triggered versions of the same events poll uses.
> Or is there something epoll does I'm not aware of?

The interface ( edge-triggered ) is quite different and we saw in the
previous experience how this might lead to confusion for the user. Putting
epoll bits inside poll.h will IMHO increase this.

- Davide

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:25 EST