Re: [RFC,PATCH] use rcu for fasync_lock

From: Jamie Lokier
Date: Sun Dec 21 2003 - 10:29:36 EST


Davide Libenzi wrote:
> First, f_op->poll() does not allow you to send and event mask,
> and this requires the driver to indiscriminately wake up both IN and OUT
> waiters. The second area will be to give the driver to specify some "info"
>
> wake_up_info(&wq, XXXX);

I agree totally, both of these are (and always were, isn't it amazing
how long these things take) the way to do it "properly".

> The good thing is that migration can be gradual, beside the initial
> dumb compile fixing to suite the new f_op->poll() interface.

Even that's trivial, if a little time consuming, as it's only a
function signature change. Actually using the extra argument is
optional for each driver.

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