]> xenbits.xensource.com Git - xen.git/commit
sched: always ask the scheduler to re-place the vcpu when the affinity changes
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Fri, 8 Mar 2013 08:43:40 +0000 (09:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 8 Mar 2013 08:43:40 +0000 (09:43 +0100)
commit0f3b02d07e12b76c568ce82d7ec6bf80fdf3870f
treead05e93d17cc5e0af40146860d45c33486b600dd
parente31d4781c0e04bec01135dea0cb7d634ee035cd3
sched: always ask the scheduler to re-place the vcpu when the affinity changes

It's probably a good idea to re-evaluate placement whenever the
affinity changes.

This additionally has the benefit of removing scheduler-specific
exceptions introduced in git c/s e6a6fd63.

The conditionals surrounding vcpu_migrate() are left pending a re-work
of the logic to avoid the common case calling vcpu_migrate() twice (once
here, and once in context_saved().

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/schedule.c