Re: How to avoid data copies in a driver ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lennart Sorensen
Date: Thursday, May 15, 2008 - 6:59 am

On Thu, May 15, 2008 at 09:44:37AM +0200, Francis Moreau wrote:

I was asking if that would work.  Does the to_user and from_user work on
a pointer from user space if that pointer points at a memory mapped
file?


Oh I thought you just wanted user space to be able to ask for a chunk of
data.  I wouldn't want to write to a file in an interrupt handler.
Compared to the disk I/O a memory copy sounds rather insignificant to
the overall process.

-- 
Len Sorensen
--
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, 12:54 pm)
Re: How to avoid data copies in a driver ?, Lennart Sorensen, (Wed May 14, 1:02 pm)
Re: How to avoid data copies in a driver ?, linux-os (Dick Johnson), (Wed May 14, 2:23 pm)
Re: How to avoid data copies in a driver ?, Francis Moreau, (Thu May 15, 12:40 am)
Re: How to avoid data copies in a driver ?, Francis Moreau, (Thu May 15, 12:44 am)
Re: How to avoid data copies in a driver ?, Arnd Hannemann, (Thu May 15, 4:50 am)
Re: How to avoid data copies in a driver ?, Francis Moreau, (Thu May 15, 5:08 am)
Re: How to avoid data copies in a driver ?, linux-os (Dick Johnson), (Thu May 15, 6:16 am)
Re: How to avoid data copies in a driver ?, Lennart Sorensen, (Thu May 15, 6:59 am)
Re: How to avoid data copies in a driver ?, Jeremy Fitzhardinge, (Fri May 16, 1:10 am)
Re: How to avoid data copies in a driver ?, Francis Moreau, (Fri May 16, 4:44 am)
Re: How to avoid data copies in a driver ?, Francis Moreau, (Fri May 16, 1:17 pm)
Re: How to avoid data copies in a driver ?, Pavel Machek, (Wed May 21, 3:41 am)