From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: George Dunlap <george.dunlap@eu.citrix.com>
Cc: Dario Faggioli <dario.faggioli@citrix.com>,
Elena Ufimtseva <ufimtseva@gmail.com>,
David Vrabel <david.vrabel@citrix.com>,
Matt Wilson <msw@amazon.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH RFC 1/2] linux/vnuma: vnuma support for pv guest
Date: Thu, 29 Aug 2013 10:51:37 -0400 [thread overview]
Message-ID: <20130829145137.GE22172@konrad-lan.dumpdata.com> (raw)
In-Reply-To: <521F5B6D.40009@eu.citrix.com>
On Thu, Aug 29, 2013 at 03:32:13PM +0100, George Dunlap wrote:
> On 29/08/13 15:23, Konrad Rzeszutek Wilk wrote:
> >On Thu, Aug 29, 2013 at 02:41:23PM +0100, David Vrabel wrote:
> >>On 29/08/13 01:11, Matt Wilson wrote:
> >>>I think it wouldn't be too hard to construct the static ACPI tables
> >>>and provide them in acpi_os_get_root_pointer().
> >>Elena's approach looks fine to me from a Linux point of view.
> > From an maintaince perspective the question is:
> >
> > - Why not re-use existing code? As in, if both PV and HVM can use
> > SRAT, why not do it that way? This way you are exercising the same
> > code path in both guests and it means less bugs to chase.
> >
> > Incidententaly this also means that the mechanism to fetch the
> > NUMA information from the hypervisor and construct the SRAT tables
> > from can be done the same in both hvmloader and Linux kernel.
>
> If the SRAT tables are built by hvmloader for HVM guests, couldn't
> hvmloader make this hypercall and construct the tables, instead of
> having the domain builder do it? That would mean that most of the
> codepath is the same; HVM just has the extra step of encoding and
> decoding the information in SRAT form.
Correct. Or the domain builder can build it for both PV and HVM.
We do have the full control of E820 for PV - so can make an "E820_ACPI"
region and stash the ACPI tables.
Either way would work. Whichever one means more code sharing is probably
the best bang for the buck to say.
>
> >>If you posted Xen and Linux series producing/using the ACPI SRAT and
> >>SLIT tables for dom0 and domU PV guests we could better evaluate that
> >>option but until then I'm inclined to consider Elena's approach as the
> >>better one.
> >I think short term Elena's option is better one as it gets it going and
> >we can experiement with it. Long term I think stashing the data in ACPI
> >SRAT/SLIT is right. But Elena might not get to it in the next couple of
> >months - which means somebody else will have to sign up for that.
>
> I definitely think that Elena needs to continue on the same path for
> now, so she can actually have closure on the project in a reasonable
> amount of time.
I concur. The caveat is that it could mean that the x86 maintainers might
object to the generic path having the special case for Xen and that
particular patch part won't be upstreamed until it has been taken care of.
If Elena is OK with that possiblity - then that is fine with me.
next prev parent reply other threads:[~2013-08-29 14:51 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-27 8:52 [PATCH RFC 0/2] linux/vnuma: vnuma topology PV guest Elena Ufimtseva
2013-08-27 8:52 ` [PATCH RFC 1/2] linux/vnuma: vnuma support for pv guest Elena Ufimtseva
2013-08-27 13:52 ` David Vrabel
2013-08-27 14:33 ` Konrad Rzeszutek Wilk
2013-08-28 13:41 ` Elena Ufimtseva
2013-08-28 23:12 ` Dario Faggioli
2013-08-29 14:07 ` Konrad Rzeszutek Wilk
2013-08-28 1:27 ` Matt Wilson
2013-08-28 1:37 ` Matt Wilson
2013-08-28 13:08 ` Dario Faggioli
2013-08-28 13:39 ` George Dunlap
2013-08-28 16:01 ` Konrad Rzeszutek Wilk
2013-08-28 16:38 ` Matt Wilson
2013-08-28 20:10 ` Elena Ufimtseva
2013-08-28 23:25 ` Matt Wilson
2013-08-29 9:16 ` George Dunlap
2013-08-28 22:21 ` Dario Faggioli
2013-08-29 0:11 ` Matt Wilson
2013-08-29 13:41 ` David Vrabel
2013-08-29 14:23 ` Konrad Rzeszutek Wilk
2013-08-29 14:32 ` George Dunlap
2013-08-29 14:51 ` Konrad Rzeszutek Wilk [this message]
2013-08-29 22:29 ` Dario Faggioli
2013-08-30 12:57 ` Konrad Rzeszutek Wilk
2013-08-27 8:53 ` [PATCH RFC 2/2] linux/vnuma: Enables NUMA support for PV guest Elena Ufimtseva
2013-08-27 13:35 ` David Vrabel
2013-08-27 15:36 ` Konrad Rzeszutek Wilk
2013-08-27 14:17 ` Konrad Rzeszutek Wilk
2013-08-27 13:48 ` [PATCH RFC 0/2] linux/vnuma: vnuma topology " David Vrabel
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=20130829145137.GE22172@konrad-lan.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=dario.faggioli@citrix.com \
--cc=david.vrabel@citrix.com \
--cc=george.dunlap@eu.citrix.com \
--cc=msw@amazon.com \
--cc=ufimtseva@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.