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

[Xen-devel] [PATCH 0 of 3] Reflect cpupool in numa node affinity (v4)


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Tue, 24 Jan 2012 06:54:09 +0100
  • Delivery-date: Tue, 24 Jan 2012 06:01:10 +0000
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:Message-Id:Date:From:To; b=hHMCfYdeLJ218mklRa8rlLNFz0NaXmfKdYwKFgOs9bsnL16xOgg9HDmF TdIfrOzmEDNqQOJhhVnAeIfTeE/E3/VUyrmbavIKZB+rKToa6J4pqTZJt hqqGRLOahTXhYMbfJRsfQrV7eohXTRrdRQ65oWq0InQELJ+Tc09u/0l31 C3LfOrUDnIZnVTx2+tsHbuYI+UBzy8+bimxJTm/wNcnTaT3owaMANjHuY udE+Ca2s75YIuMijPtjw3+v2jLs8C;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

In order to prefer node local memory for a domain the numa node locality
info must be built according to the cpus belonging to the cpupool of the
domain.

Changes in v4:
- split in three patches

Changes in v3:
- formatting
- avoid memory leak

Changes in v2:
- switch to dynamically allocated cpumasks in domain_update_node_affinity()
- introduce and use common macros for selecting cpupool based cpumasks

8 files changed, 48 insertions(+), 28 deletions(-)
xen/common/cpupool.c       |    9 +++++++++
xen/common/domain.c        |   28 +++++++++++++++++++++++-----
xen/common/domctl.c        |    2 +-
xen/common/sched_credit.c  |    6 ++----
xen/common/sched_credit2.c |    2 --
xen/common/sched_sedf.c    |    8 +++-----
xen/common/schedule.c      |   16 +++++-----------
xen/include/xen/sched-if.h |    5 +++++

_______________________________________________
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®.