user space device drivers

Prabhu nath gprabhunath at gmail.com
Tue May 14 05:59:10 EDT 2013


One that I know is through proc interface where the interrupt info is
lodged in a file in /proc  and the user code keeps polling on this file.
Exact use of this is to be looked for.




On Tue, May 14, 2013 at 3:24 PM, Gergely Buday <gbuday at gmail.com> wrote:

> Prabhu nath wrote:
>
> > But if the device has to generate an interrupt on the reception of the
> data
> > then it is best for the driver code to be in the kernel space waiting for
> > the data, rather than in the user space because there is no efficient
> > mechanism till now for the control to be transferred to the waiting user
> > space code on the reception of the interrupt.
>
> What are the curently available mechanisms for an interrupt to
> propagate into user space?
>
> Is there one that affects the scheduler?
>
> - Gergely
>



-- 
Regards,
Prabhunath G
Linux Trainer
Bangalore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130514/227eb538/attachment-0001.html 


More information about the Kernelnewbies mailing list