login
Header Space

 
 

Re: How to avoid data copies in a driver ?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Francis Moreau <francis.moro@...>
Cc: <linux-kernel@...>
Date: Wednesday, May 14, 2008 - 5:23 pm

On Wed, 14 May 2008, Francis Moreau wrote:


You memory-map the data. Impliment mmap() in your driver.
You can also impliment poll()  { select() } so your
application knows when new data are available.

You cannot use a user-mode file-descriptor in the kernel.


Cheers,
Dick Johnson
Penguin : Linux version 2.6.22.1 on an i686 machine (5588.29 BogoMips).
My book : http://www.AbominableFirebug.com/
_


****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How to avoid data copies in a driver ?, Francis Moreau, (Wed May 14, 3:54 pm)
Re: How to avoid data copies in a driver ?, Pavel Machek, (Wed May 21, 6:41 am)
Re: How to avoid data copies in a driver ?, linux-os (Dick Johnson), (Wed May 14, 5:23 pm)
Re: How to avoid data copies in a driver ?, Francis Moreau, (Thu May 15, 3:40 am)
Re: How to avoid data copies in a driver ?, Jeremy Fitzhardinge, (Fri May 16, 4:10 am)
Re: How to avoid data copies in a driver ?, Francis Moreau, (Fri May 16, 7:44 am)
Re: How to avoid data copies in a driver ?, linux-os (Dick Johnson), (Thu May 15, 9:16 am)
Re: How to avoid data copies in a driver ?, Arnd Hannemann, (Thu May 15, 7:50 am)
Re: How to avoid data copies in a driver ?, Francis Moreau, (Thu May 15, 8:08 am)
Re: How to avoid data copies in a driver ?, Lennart Sorensen, (Wed May 14, 4:02 pm)
Re: How to avoid data copies in a driver ?, Francis Moreau, (Thu May 15, 3:44 am)
Re: How to avoid data copies in a driver ?, Lennart Sorensen, (Thu May 15, 9:59 am)
Re: How to avoid data copies in a driver ?, Francis Moreau, (Fri May 16, 4:17 pm)
speck-geostationary