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

[Xen-devel] [PATCH 0/4] Reduce the use of MAX_VIRT_CPUS in tree



MAX_VIRT_CPUS used to be an appropriate upper bound for vcpus when it was the
length of the fixed-size vcpus array in a struct domain.  When the vcpu array
became dynamically allocated in Xen 4.0, it ceased to be an appropriate bound.

Andrew Cooper (4):
  xen/domain: Introduce domain_max_vcpus() helper and implement per arch
  xen/evtchn: Reduce the size of the poll_mask where possible
  sched/arinc653: Remove MAX_VIRT_CPUS bounds check
  xen/many: Drop redundant MAX_VIRT_CPUS bounds checks

 xen/arch/arm/domain.c        |    5 +++++
 xen/arch/arm/vpsci.c         |    3 ---
 xen/arch/x86/domain.c        |    9 +++++++++
 xen/arch/x86/domctl.c        |    4 ----
 xen/common/compat/domain.c   |    3 ---
 xen/common/domain.c          |    3 ---
 xen/common/domctl.c          |    3 +--
 xen/common/event_channel.c   |    4 ++--
 xen/common/sched_arinc653.c  |    5 ++---
 xen/include/asm-arm/config.h |    1 -
 xen/include/asm-x86/config.h |    3 ---
 xen/include/xen/domain.h     |    3 +++
 12 files changed, 22 insertions(+), 24 deletions(-)

-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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