aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/domain.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-08-04 17:10:46 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-08-04 17:10:46 +0100
commit63ec149d4004477e7cccb6f47bccfa29e9165a60 (patch)
treec8c32de229d369cd78184de0d540444bb2f69103 /xen/common/domain.c
parent91c6005e01321a07b0ea8ecc5a3066ba70389e47 (diff)
downloadxen-63ec149d4004477e7cccb6f47bccfa29e9165a60.tar.gz
xen-63ec149d4004477e7cccb6f47bccfa29e9165a60.tar.bz2
xen-63ec149d4004477e7cccb6f47bccfa29e9165a60.zip
numa: Small tweaks to domain_update_node_affinity() and its callers.
From: Andrew Jones <drjones@redhat.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/domain.c')
-rw-r--r--xen/common/domain.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xen/common/domain.c b/xen/common/domain.c
index 568c0a8acd..9a93767630 100644
--- a/xen/common/domain.c
+++ b/xen/common/domain.c
@@ -358,12 +358,8 @@ void domain_update_node_affinity(struct domain *d)
cpus_or(cpumask, cpumask, v->cpu_affinity);
for_each_online_node ( node )
- {
if ( cpus_intersects(node_to_cpumask(node), cpumask) )
node_set(node, nodemask);
- else
- node_clear(node, nodemask);
- }
d->node_affinity = nodemask;
spin_unlock(&d->node_affinity_lock);