From: Razvan Cojocaru <rzvncj@gmail.com>
To: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Multiple-page mem_event ring buffer?
Date: Tue, 05 Mar 2013 17:35:13 +0200 [thread overview]
Message-ID: <513610B1.9060506@gmail.com> (raw)
In-Reply-To: <C218016A-30AA-44E6-A921-66F759BD2D47@gridcentric.ca>
>> Could I safely use more than one page for the ring buffer (passing '2'
>> as the last parameter of xc_map_foreign_batch(), and so on), or am I
>> limited to 1 page by design?
>
> You would have to change Xen itself to also view the N pages as a contiguous region in the virtual address space. I think vmap has been recently added for that purpose, but I know nothing about its limitations (cc'ing Jan).
>
> You would also want to retain the old interface and add a new domctl for N-page ring setup. And some refactoring of all the places where that sequence of calls needed for setup is repeated. And a pony ;)
Ah, that's what I thought. Will ask management to budget for the pony :)
Thanks,
Razvan Cojocaru
next prev parent reply other threads:[~2013-03-05 15:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.25393.1362491391.1399.xen-devel@lists.xen.org>
2013-03-05 15:25 ` Multiple-page mem_event ring buffer? Andres Lagar-Cavilla
2013-03-05 15:35 ` Razvan Cojocaru [this message]
2013-03-05 13:21 Razvan Cojocaru
2013-03-05 14:21 ` Konrad Rzeszutek Wilk
2013-03-05 14:34 ` Razvan Cojocaru
2013-03-05 15:00 ` Razvan Cojocaru
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=513610B1.9060506@gmail.com \
--to=rzvncj@gmail.com \
--cc=xen-devel@lists.xen.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 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.