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

[Xen-devel] [PATCH] Reflect cpupool in numa node affinity (v2)


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Mon, 23 Jan 2012 13:12:17 +0100
  • Delivery-date: Mon, 23 Jan 2012 12:17:46 +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:Subject: X-Mercurial-Node:Message-Id:Date:From:To; b=pAcmJmRV4G1gZnHIZS2ZkFAC0ZobHyZSgMl5qcuehH025GZf7N52WK5R xPMfaEgq38NR/hnphTJiEnkWnb8KYdjhCFCfAaO8RlN1ujd0GvEOxqaxT WX5OYDu+KJ78azDmFfAnED9rN/DVYstWH1JvI2XFXR47/QOpf1ppQwr0S rtRc81EnZVu7Qw7Xmp7EZjjcZ6DCadBA9AEq64KaqCe4nHfLeCf4KUTLo bgjh9tsDL0aV3iCBiDYybIhvSuEwQ;
  • 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 since v1:
- switch to dynamically allocated cpumasks in domain_update_node_affinity()
- introduce and use common macros for selecting cpupool based cpumasks

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


8 files changed, 44 insertions(+), 27 deletions(-)
xen/common/cpupool.c       |    9 +++++++++
xen/common/domain.c        |   24 ++++++++++++++++++++----
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 |    4 ++++


Attachment: xen-staging.hg.patch
Description: Text Data

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