From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Kashmira. K." <chimnee@yahoo.com>
Cc: winterfi@cisco.com, xen-devel@lists.xensource.com
Subject: Re: Contiguous DMAble memory in Dom0 user space linux process
Date: Wed, 13 Jan 2010 16:31:53 -0500 [thread overview]
Message-ID: <20100113213153.GA10553@phenom.dumpdata.com> (raw)
In-Reply-To: <305007.64514.qm@web50604.mail.re2.yahoo.com>
On Wed, Jan 13, 2010 at 01:03:39PM -0800, Kashmira. K. wrote:
> Hello Xen experts,
>
> I am trying to get contiguous DMAble memory in user space application which is a processes running on xen capable Linux.
Why? Is the driver you are communicating with doing DMA of huge chunks of memory (bigger than 2MB?)
There surely must be another way to make your application do what it has
to do than allocating such a large swath of memory.
> Is it possible to use the HYPERVISOR_grant_table_op hypercall passing GMTTABOP_map_grant_ref as command to achieve this. If so, to use this hypercall the grant reference is required. How do I get the grant reference? Would appreciate if I can get an example code or pointer to one to clearly understand how to achieve this.
Grant reference won't get you contiguous memory. It will get you memory
shared between domains.
next prev parent reply other threads:[~2010-01-13 21:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-13 21:03 Contiguous DMAble memory in Dom0 user space linux process Kashmira. K.
2010-01-13 21:31 ` Konrad Rzeszutek Wilk [this message]
2010-01-15 2:16 ` Kashmira. K.
2010-01-15 16:59 ` Konrad Rzeszutek Wilk
2010-01-20 21:10 ` Kashmira. K.
2010-01-20 21:42 ` Konrad Rzeszutek Wilk
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=20100113213153.GA10553@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=chimnee@yahoo.com \
--cc=winterfi@cisco.com \
--cc=xen-devel@lists.xensource.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.