From: Ed White <edmund.h.white@intel.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: ravi.sahita@intel.com, Keir Fraser <keir@xen.org>,
Ian Campbell <ian.campbell@citrix.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>,
xen-devel@lists.xenproject.org
Subject: Re: Alternate p2m design specification
Date: Wed, 10 Jun 2015 09:39:14 -0700 [thread overview]
Message-ID: <55786832.8040609@intel.com> (raw)
In-Reply-To: <557806AF0200007800082E77@mail.emea.novell.com>
On 06/10/2015 12:43 AM, Jan Beulich wrote:
>>>> On 10.06.15 at 02:09, <edmund.h.white@intel.com> wrote:
>> Design
>> ======
>
> Reads all quite reasonable; just one minor remark:
>
>> - Core altp2m functionality
>>
>> A new altp2m type is added to the p2m types (in addition to the previous
>> hostp2m and nestedp2m types). An HVM domain can be started in hostp2m mode
>> and switched over into altp2m mode via a hypercall. Once a HVM domain is in
>> altp2m mode, a set of (currently set size is 10) altp2m objects is managed by
>> Xen.
>
> Rather than hardcoding 10, how about making the Xen command line
> option specify the value (instead of being a simple boolean one)?
>
> Jan
>
For the use cases we're currently aware of, even 10 is generous. I'd be
wary of allowing the user to specify any number up to and including 512
with the current implementation, because there are a number of places where
we do a linear search of the list.
In practice, 1 alternate p2m is not useful, so in a future version of the
code, when we have more idea of how useful people find it, we could say
0=off, 1=on with 10 alternates, any other number=on with that many
alternates.
Does that seem reasonable?
Ed
next prev parent reply other threads:[~2015-06-10 16:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-10 0:09 Alternate p2m design specification Ed White
2015-06-10 7:43 ` Jan Beulich
2015-06-10 16:39 ` Ed White [this message]
2015-06-11 7:05 ` Jan Beulich
2015-06-11 16:30 ` Ed White
2015-06-10 18:23 ` Andrew Cooper
2015-06-10 19:41 ` Ed White
2015-06-10 23:09 ` Andrew Cooper
2015-06-10 23:41 ` Ed White
2015-06-11 12:06 ` Tim Deegan
2015-06-11 16:23 ` Ed White
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=55786832.8040609@intel.com \
--to=edmund.h.white@intel.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=keir@xen.org \
--cc=ravi.sahita@intel.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.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.