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

Juergen Gross
2012-01-23T12:12:17Z

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@ts.fujitsu.com


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 ++++




_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com