lkml.org 
[lkml]   [2003]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.084 / U:2.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site