async i/o question



Hi,

I'm new to linux kernel and need some advice. I need to implement
async i/o
between application and kernel module. It should work like this:
application
allocates number of buffers and sends them to kernel module and goes
to
sleep (wait for some notification), kernel module fills the buffers
when it
has data and notifies application that a buffer is ready. Application
wakes
up, processes the data in the buffer and sends it back to kernel
module and
goes to sleep until next notification.
What system calls/functions should I look into to implement the above?

Thanks,
Anatoly.

.



Relevant Pages

  • Re: async i/o question
    ... async i/o between application and kernel module. ... kernel module and goes to sleep (wait for some notification), ... module fills the buffers when it has data and notifies application ...
    (comp.os.linux.development.system)
  • Re: async i/o question
    ... io_setup - Create an asynchronous I/O context ... allocates number of buffers and sends them to kernel module and goes ... goes to sleep until next notification. ...
    (comp.os.linux.development.system)
  • Re: async i/o question
    ... You cannot queue several buffers using ... kernel module and I found it in v4l framework. ... THIS IS ORDINARY 'BLOCKING' SYNCHRONOUS I/O. ...
    (comp.os.linux.development.system)