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

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Tue, 24 Jan 2012 11:06:06 +0100
  • Delivery-date: Tue, 24 Jan 2012 10:14:17 +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=qwvvKJ0KShoFg+2yC745NmWxqubdAfqF6Bj3l4OOlpqHSpE4yXK2E9sr DuZfHiMXo6sM9ZmG+HkjBmBm/cJoIsFZPcMbU2Gqdf4c3rFjKDgs1FxXV JfzyZbX8JfRnxFIgtLxXxGw00pUsepXEalGzBkBhGHVwo3weSMt9y5/gl 63+CndXCgrl1C0N+9WWX0kiXJkS+a7sgz16oh2CCsGferXf1qcYtQk4MR +UK2Wle/jz/dHMo03AmKOCR1xQtHV;
  • 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 v5:
- pre-initialze node_affinity to NODE_MASK_ALL

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, 49 insertions(+), 28 deletions(-)
xen/common/cpupool.c       |    9 +++++++++
xen/common/domain.c        |   29 ++++++++++++++++++++++++-----
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®.