From: Dave Airlie (david.airlie at domain drua.ie)
Date: Wed 16 Feb 2000 - 12:34:24 GMT
> i have since solved the problem of passing info
> to and from the kernel - I'm using my own ioctls - which
> solves the problem perfeclty. The next problem I hit is
> this:
> I have 2 devices being monitored by the same
> kernel module. When one device is accessed and info is
> passed in, the module notifies a user process which then
> gets the info thru the other deivce, acts on it, and passes
> back the result. My problem is I need the module to block
> (or something) until the info has being passed back before
> returning from the ioctl call made on the first device.
> Any ideas?
>
sounds like a sleep_on or something similiar style mutex in the kernel,
and then wake it up from the other execution context...
Dave.
>
>
>
-- David Airlie, Software Engineer Drua Technologies Ltd, Innovation Centre, National Tech Park, Limerick. t: +353-61-503075 / f: +353-61-338065 / David.Airlie at domain drua.ie
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:26 GMT