From: "Chris Friesen" <cfriesen@nortel.com>
To: Jonathan Haws <Jonathan.Haws@sdl.usu.edu>
Cc: "Bo.Liu@windriver.com" <Bo.Liu@windriver.com>,
"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: DMA to User-Space
Date: Fri, 06 Nov 2009 00:05:56 -0600 [thread overview]
Message-ID: <4AF3BCC4.6070702@nortel.com> (raw)
In-Reply-To: <BB99A6BA28709744BF22A68E6D7EB51F033103030E@midas.usurf.usu.edu>
On 11/04/2009 11:50 AM, Jonathan Haws wrote:
> One more question about this approach: does the mmap() call prevent
> the kernel from using this memory for other purposes? Will the
> kernel be able to "move" this memory elsewhere? I guess what I am
> asking is if this memory is locked for all other purposes?
You've allocated the memory in the kernel and mapped it to userspace.
If the kernel uses that memory for anything else it will be visible to
userspace.
Chris
next prev parent reply other threads:[~2009-11-06 6:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-03 23:37 DMA to User-Space Jonathan Haws
2009-11-04 2:19 ` Tonyliu
2009-11-04 17:40 ` Jonathan Haws
2009-11-04 17:50 ` Jonathan Haws
2009-11-06 6:05 ` Chris Friesen [this message]
2009-11-06 16:34 ` Jonathan Haws
2009-11-06 17:07 ` Alan Nishioka
2009-11-06 18:47 ` Jonathan Haws
2009-11-04 19:02 ` john.p.price
2009-11-23 17:11 ` Sergey Temerkhanov
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=4AF3BCC4.6070702@nortel.com \
--to=cfriesen@nortel.com \
--cc=Bo.Liu@windriver.com \
--cc=Jonathan.Haws@sdl.usu.edu \
--cc=linuxppc-dev@lists.ozlabs.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).