[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Reflect cpupool in numa node affinity (v3)
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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |