Messages in this thread | | | Date | Sun, 21 Dec 2003 07:17:55 -0800 (PST) | From | Davide Libenzi <> | Subject | Re: [RFC,PATCH] use rcu for fasync_lock |
| |
On Sun, 21 Dec 2003, Davide Libenzi wrote:
> On Sun, 21 Dec 2003, Manfred Spraul wrote: > > > >What about killing fasync_helper altogether and using the method that > > >epoll uses to register "listeners" which send a signal when the poll > > >state of a device changes? > > > > > I think it would be a step in the wrong direction: poll should go away > > from a simple wake-up to an interface that transfers the band info > > (POLL_IN, POLL_OUT, etc). Right now at least two passes over the f_poll > > functions are necessary, because the info which event actually triggered > > is lost. kill_fasync transfers the band info, thus I don't want to > > remove it. > > It is my plan to propose (Linus is not contrary, in principle) a change of > the poll/wake infrastructure for 2.7. There are two areas that can be > improved. First, f_op->poll() does not allow you to send and event mask,
Sorry, poll_wait() does not allow you to specify an event mask ...
- 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/
| |