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

[Xen-devel] [PATCH] move MAX_VIRT_CPUS into arch header


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Matt Chapman <matthewc@xxxxxx>
  • Date: Tue, 14 Jun 2005 14:51:49 -0600
  • Delivery-date: Tue, 14 Jun 2005 20:51:53 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

This patch moves the definition of MAX_VIRT_CPUS from xen.h into
arch-${ARCH}.h (which is included from xen.h).

The initial reason is that the current value of MAX_VIRT_CPUS overflows
the shared_info page on ia64.  Eventually we plan to move the VCPU data
onto separate pages.  However, this is an interim fix and I imagine that
the value of MAX_VIRT_CPUS may indeed be architecture-dependent - for
example, longer bitmasks on a 64-bit machine may make it easier to
support more virtual CPUs.

Matt

Signed-off-by: Matthew Chapman <matthewc@xxxxxx>

Attachment: max-virt-cpus.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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