From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: [PATCH 0 of 3] Reflect cpupool in numa node affinity (v5) Date: Tue, 24 Jan 2012 11:06:06 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 +++++