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@ts.fujitsu.com 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 ++++ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel