From: Ankita Garg <ankita@in.ibm.com>
To: Sri Ram Vemulpali <sri.ram.gmu06@gmail.com>
Cc: Kernel-newbies <kernelnewbies@nl.linux.org>,
linux-kernel-mail <linux-kernel@vger.kernel.org>
Subject: Re: Mapping memory between kernel and user space
Date: Tue, 15 Feb 2011 11:24:26 +0530 [thread overview]
Message-ID: <20110215055426.GA468@in.ibm.com> (raw)
In-Reply-To: <AANLkTi=Ca4Lcc_war-atpr81eJcZA3ks+EKFf9Rq5pKs@mail.gmail.com>
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
next prev parent reply other threads:[~2011-02-15 5:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-09 23:45 Mapping memory between kernel and user space Sri Ram Vemulpali
2011-02-09 23:45 ` Sri Ram Vemulpali
2011-02-10 3:21 ` Mulyadi Santosa
2011-02-10 19:56 ` Sri Ram Vemulpali
2011-02-11 12:42 ` YOUNGWHAN SONG
2011-02-11 12:58 ` Rajat Sharma
2011-02-15 5:54 ` Ankita Garg [this message]
2011-02-15 17:15 ` Sri Ram Vemulpali
2011-02-15 17:15 ` Sri Ram Vemulpali
2011-02-16 5:09 ` Ankita Garg
2011-02-16 5:52 ` Rajat Sharma
2011-02-16 5:52 ` Rajat Sharma
2011-02-16 8:02 ` anish singh
2011-02-16 15:32 ` Rajat Sharma
2011-02-16 15:32 ` Rajat Sharma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110215055426.GA468@in.ibm.com \
--to=ankita@in.ibm.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sri.ram.gmu06@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.