From: George Dunlap <george.dunlap@eu.citrix.com>
To: Mukesh Rathor <mukesh.rathor@oracle.com>, Xen-devel@lists.xensource.com
Cc: keir.xen@gmail.com, tim@xen.org, JBeulich@suse.com
Subject: Re: [V3 PATCH 0/9]: PVH dom0....
Date: Thu, 28 Nov 2013 12:07:02 +0000 [thread overview]
Message-ID: <529731E6.5050201@eu.citrix.com> (raw)
In-Reply-To: <1385519230-21132-1-git-send-email-mukesh.rathor@oracle.com>
On 11/27/2013 02:27 AM, Mukesh Rathor wrote:
> Hi,
>
> V3:
> - New patch #7 for xsm changes to add_to_physmap.
> - Patches 3, 4 5 6 and 8 are unchanged from V2. (just a new comment in #8).
>
> These patches implement PVH dom0. Please note there is 1 fixme in
> this entire series that is being discussed under a different thread,
> and will be worked on next. PVH dom0 creation is disabled
> until then.
So a couple of thoughts from a release perspective.
Releasing *code* as "experimental" means, "it may work or it may not;
use at your own risk". If people use it and it works, then great; they
can expect that the code will only get better.
However, releasing an *interface* as "experimental" means, "it may work
for you now, but it may not work later when we change the interface".
While this is nice in theory, in practice, once something works, people
may begin to rely on it and we may end up having to support it anyway.
So the Linux interface cannot really be labelled "experimental"; we have
to be reasonably certain that we can support it going forward.
Benefits:
We have a fairly solid precedent for releasing features as
"experimental" or "tech preview". This allows a much wider testing and
feedback. If it turns out to be robust enough, people may even be able
to use it, gaining the potential performance advantages.
Someone could make an argument the other way: that the best thing to do
would be to check it in at the beginning of the release cycle, get it
well tested, and then release it as "ready" for 4.5, without going
through an "experimental" phase. Both arguments have their merits; but
since current way we do things hasn't caused any problems and seems to
be working OK, it seems best to follow precedent, and assume that a tech
preview will be beneficial.
Risks, bugs:
All of the actual functional changes in this series are predicated on
"if(is_pvh_domain())", so in theory they should only have an effect on
PVH guests. (There is, of course, a small risk that there will be a
mistake here.) It introduces a new p2m type, but since it is the only
one that uses it, bugs should only affect PVH, and not other functionality.
Risks, interface:
This patch series only adds two things to the interface with Linux:
XENMAPSPACE_gmfn_foreign and XENMEM_add_to_physmap_range.
These are already used and available in the ARM side.
Normally I'd be afraid of accepting new interfaces at this stage in the
game, as I'd be afraid that we hadn't had enough time to make sure it's
something we want to support going forward. However, since this is just
duplicating an interface already in use on the ARM side, I think the
interface *has* been thought of for some time. This makes is much more
likely to be worth the risk; if the ARM side has used it for 6 months
without finding a problem with it, it seems unlikely that the x86 side
will be particularly different.
So on the whole, there is a benefit (if a bit nebulous) to having it in,
and a reasonably low risk; and it's not clear that the risk will be
significantly mitigated by waiting another 6 months. I'm therefore
inclined to give it a release ack.
Any thoughts?
-George
next prev parent reply other threads:[~2013-11-28 12:07 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-27 2:27 [V3 PATCH 0/9]: PVH dom0 Mukesh Rathor
2013-11-27 2:27 ` [V3 PATCH 1/9] PVH dom0: iommu related changes Mukesh Rathor
2013-11-27 2:27 ` [V3 PATCH 2/9] PVH dom0: create add_mem_mapping_for_xlate() function Mukesh Rathor
2013-12-02 12:16 ` Jan Beulich
2013-11-27 2:27 ` [V3 PATCH 3/9] PVH dom0: move some pv specific code to static functions Mukesh Rathor
2013-12-02 12:30 ` Jan Beulich
2013-11-27 2:27 ` [V3 PATCH 4/9] dom0: construct_dom0 changes Mukesh Rathor
2013-12-02 12:36 ` Jan Beulich
2013-11-27 2:27 ` [V3 PATCH 5/9] PVH dom0: implement XENMEM_add_to_physmap_range for x86 Mukesh Rathor
2013-12-02 12:47 ` Jan Beulich
2013-12-03 0:05 ` Mukesh Rathor
2013-12-03 7:48 ` Jan Beulich
2013-12-03 19:49 ` Mukesh Rathor
2013-12-04 8:03 ` Jan Beulich
2013-11-27 2:27 ` [V3 PATCH 6/9] PVH dom0: Introduce p2m_map_foreign Mukesh Rathor
2013-11-27 2:27 ` [V3 PATCH 7/9] pvh: change xsm_add_to_physmap Mukesh Rathor
2013-11-27 16:46 ` Daniel De Graaf
2013-11-27 20:29 ` Mukesh Rathor
2013-11-29 9:21 ` Jan Beulich
2013-12-02 12:55 ` Jan Beulich
2013-11-27 2:27 ` [V3 PATCH 8/9] pvh dom0: Add and remove foreign pages Mukesh Rathor
2013-12-02 12:57 ` Jan Beulich
2013-11-27 2:27 ` [V3 PATCH 9/9] pvh dom0: add opt_dom0pvh to setup.c Mukesh Rathor
2013-11-27 15:00 ` George Dunlap
2013-11-27 20:12 ` Mukesh Rathor
2013-11-28 11:54 ` George Dunlap
2013-11-29 9:29 ` Jan Beulich
2013-12-02 13:00 ` Jan Beulich
2013-12-02 15:09 ` Roger Pau Monné
2013-12-02 19:30 ` Mukesh Rathor
2013-12-02 19:38 ` Roger Pau Monné
2013-12-02 20:38 ` Mukesh Rathor
2013-12-02 20:46 ` Mukesh Rathor
2013-12-03 2:33 ` Mukesh Rathor
2013-12-03 10:30 ` Roger Pau Monné
2013-12-03 19:51 ` Mukesh Rathor
2013-12-03 10:54 ` Jan Beulich
2013-11-28 12:07 ` George Dunlap [this message]
2013-11-29 9:17 ` [V3 PATCH 0/9]: PVH dom0 Jan Beulich
2013-12-02 11:39 ` George Dunlap
2013-12-01 23:53 ` Mukesh Rathor
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=529731E6.5050201@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=Xen-devel@lists.xensource.com \
--cc=keir.xen@gmail.com \
--cc=mukesh.rathor@oracle.com \
--cc=tim@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 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).