lkml.org 
[lkml]   [2011]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Mapping memory between kernel and user space
On Wed, Feb 09, 2011 at 06:45:42PM -0500, Sri Ram Vemulpali wrote:
> Hi all,
>
> How do I map some space between kernel and user space. Can anyone
> point me in to right direction. I was trying to map the packets from
> my netfilter function to kernel user space, to avoid over head of
> copying. Thanks in advance.
>

You can take a look at remap_pfn_range() routine when implementing mmap
in your driver.

--
Regards,
Ankita Garg (ankita@in.ibm.com)
Linux Technology Center
IBM India Systems & Technology Labs,
Bangalore, India


\
 
 \ /
  Last update: 2011-02-15 06:57    [W:0.056 / U:1.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site