]> xenbits.xensource.com Git - xen.git/commit
Revert "cpupools: update domU's node-affinity on the cpupool_unassign_cpu() path"
authorJan Beulich <jbeulich@suse.com>
Thu, 26 Mar 2015 07:41:03 +0000 (08:41 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 26 Mar 2015 07:41:03 +0000 (08:41 +0100)
commit77da6c2de65de3b00e5181cd26a3869744555ea4
tree13df0807d00d851aa9171ecd923ad9615ec24820
parent42b446ed8d540057cd39f3bff945127939fa1cb6
Revert "cpupools: update domU's node-affinity on the cpupool_unassign_cpu() path"

This reverts commit 93be8285a79c6cbbf66c8681fec1d1bfb71d84cc.

At the point this patch calls domain_update_node_affinity(), the vcpu
hard affinities have not yet been updated; so calling it at this point
can in some circumstances trigger an ASSERT().

domain_update_node_affinity() is already called in
cpu_disable_scheduler(), so adding it to cpupool_unassign_cpu() is
redundant.  Simply reverting the patch is sufficient.

Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/cpupool.c