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

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Mon, 23 Jan 2012 13:57:01 +0100
  • Delivery-date: Mon, 23 Jan 2012 13:02:32 +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=hGYUoAopbjPJrXiZVgEraGzkfleo/nftfS9l4zgcvHG3oY/ZNFOp1UD7 YCAx6rYNxXTSihyS0YEbcz2q8tIv5lpkV318gqgQU6x16a4kdqC46zluW V0YI4YM+H20kYZvn7Nha5jU63ynJdCzwEgDJSyRZTGUEiQMRoBmgAK5Gz Tc15W5oRCi+vLMND1b1NpTApP/THSmtL2pJWGaPMn6qvpdUSV+iB6/TPF TdQ0yQgF2jfDs90s7p8pg9DqxGyxL;
  • 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 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

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


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