Skip to contentSkip to conversation

Does mmap make a memory copy?

DISCUSSION prodyuth 1 participant 1 message Feb 14, 2002 Memory management

lore
Share & tools
lore

prodyuth

author
#0 lore raw

Hi all,
I would be very thankful if anyone confirms my understanding of mmap.

I am using mmap to attach a device buffer into the process virtual address space. My understanding is that there will not be a kernel copy of the device buffer. So writing into the process address space is like writing into the device buffer directly without a memory copy.

Am I correct in my understanding.

Thanks in advance for your help.
Regards,
Prodyut.

Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in

Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/