lkml.org 
[lkml]   [2003]   [Dec]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 21 Dec 2003 15:59:58 +0100
FromManfred Spraul <>
SubjectRe: [RFC,PATCH] use rcu for fasync_lock
Jamie Lokier wrote:

>I don't think you need to change pollwait or ->poll, because the band
>information for the signal is available, as you say, by calling ->poll
>after the wakeup.
>
I'm not convinced:
The wakeup happens at irq time. The band info is necessary for 
send_sigio(). Calling f_poll at irq time is not an option - it will 
definitively cause breakage. schedule_work() for every call is IMHO not 
an option. And even that is not reliable: fasync users might expect 
seperate POLL_OUT and POLL_IN signals.


--
    Manfred


-
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    [from the cache]
©2003-2008