Questions Tagged With mmaphttp://linuxexchange.org/tags/mmap/?type=rssquestions tagged <span class="tag">mmap</span>enMon, 03 May 2010 21:23:21 -0400Avoid copying of data between user and kernel space and vice-versahttp://linuxexchange.org/questions/204/avoid-copying-of-data-between-user-and-kernel-space-and-vice-versa<p>Hello, I am developing a active messaging protocol for parallel computation that replaces TCP/IP. My goal is to decrease the latency of a packet. Since the environment is a LAN, i can replace TCP/IP with simpler protocol to reduce the packet latency. I am not writing any device driver and i am just trying to replace the TCP/IP stack with something simpler. Now I wanted to avoid copying of a packet's data from user space to kernel space and vice-versa. I heard of the mmap(). Is it the best way to do this? If yes, it will be nice if you can give links to some examples. I am a linux newbie and i really appreciate your help.. Thank you...</p> <p>Thanks, Bala</p>bala1486Mon, 03 May 2010 21:23:21 -0400http://linuxexchange.org/questions/204/avoid-copying-of-data-between-user-and-kernel-space-and-vice-versalinuxmmap