All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Reduce the use of MAX_VIRT_CPUS in tree
@ 2015-01-19 11:21 Andrew Cooper
  2015-01-19 11:21 ` [PATCH 1/4] xen/domain: Introduce domain_max_vcpus() helper and implement per arch Andrew Cooper
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Andrew Cooper @ 2015-01-19 11:21 UTC (permalink / raw)
  To: Xen-devel
  Cc: Keir Fraser, Ian Campbell, Andrew Cooper, Ian Jackson, Tim Deegan,
	Jan Beulich

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-01-20 14:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 11:21 [PATCH 0/4] Reduce the use of MAX_VIRT_CPUS in tree Andrew Cooper
2015-01-19 11:21 ` [PATCH 1/4] xen/domain: Introduce domain_max_vcpus() helper and implement per arch Andrew Cooper
2015-01-19 12:16   ` Simon Rowe
2015-01-19 12:52     ` Andrew Cooper
2015-01-19 12:57       ` Ian Campbell
2015-01-19 12:59         ` Andrew Cooper
2015-01-20 10:27   ` Jan Beulich
2015-01-20 14:06     ` [PATCH v2 " Andrew Cooper
2015-01-20 11:05   ` [PATCH " Ian Campbell
2015-01-19 11:21 ` [PATCH 2/4] xen/evtchn: Reduce the size of the poll_mask where possible Andrew Cooper
2015-01-20 10:28   ` Jan Beulich
2015-01-19 11:21 ` [PATCH 3/4] sched/arinc653: Remove MAX_VIRT_CPUS bounds check Andrew Cooper
2015-01-20 10:34   ` Jan Beulich
2015-01-20 14:20     ` Robert VanVossen
2015-01-19 11:21 ` [PATCH 4/4] xen/many: Drop redundant MAX_VIRT_CPUS bounds checks Andrew Cooper
2015-01-20 10:36   ` Jan Beulich
2015-01-20 11:06   ` Ian Campbell

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.