RE: [patch] vEFI SRAT support

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

 



Tristan, 
	How about the patch to upstream?  
Xiantao

-----Original Message-----
From: Jes Sorensen [mailto:jes@xxxxxxx] 
Sent: Wednesday, June 03, 2009 11:07 PM
To: Tristan Gingold
Cc: Zhang, Xiantao; kvm-ia64@xxxxxxxxxxxxxxx
Subject: [patch] vEFI SRAT support

Hi,

Here's a patch adding SRAT support to the vEFI image. It's fairly basic,
simply putting all vCPUs and memory onto node zero.

The benefit of creating the SRAT, even for smaller systems is that the
current Linux kernels rely on it to count possibly CPUs, and without it,
they will allocate per-CPU space for 32 CPUs. It should result in
slightly less kernel memory being consumed for small setups and it
allows for booting guests with > 32 vCPUs (and > 64 with older kernels).

I also changed the ACPI OEM ID to say XenKVM instead of just Xen, hope
thats ok. If you prefer, feel free to ignore this part. Last I added
a typecase to the memcpy() #define to avoid a compiler warning.

Cheers,
Jes


--
To unsubscribe from this list: send the line "unsubscribe kvm-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux KVM Devel]     [Linux Virtualization]     [Big List of Linux Books]     [Linux SCSI]     [Yosemite Forum]

  Powered by Linux