Re: [RFC,PATCH] use rcu for fasync_lock

Manfred Spraul
2003-12-21T15:00:10Z

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