[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC 1/2] linux/vnuma: vnuma support for pv guest

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.

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.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.