[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Always call domain_update_node_affinity() with IRQs enabled.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1281109756 -3600 # Node ID cd606ea8f96351ce48ce4667e4e48b8edf3c19de # Parent 63c8222ea2c9840942f29ba35bde9c578679091b Always call domain_update_node_affinity() with IRQs enabled. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/common/schedule.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r 63c8222ea2c9 -r cd606ea8f963 xen/common/schedule.c --- a/xen/common/schedule.c Fri Aug 06 15:42:49 2010 +0100 +++ b/xen/common/schedule.c Fri Aug 06 16:49:16 2010 +0100 @@ -528,12 +528,13 @@ int vcpu_set_affinity(struct vcpu *v, cp old_affinity = v->cpu_affinity; v->cpu_affinity = *affinity; - domain_update_node_affinity(v->domain); *affinity = old_affinity; if ( !cpu_isset(v->processor, v->cpu_affinity) ) set_bit(_VPF_migrating, &v->pause_flags); vcpu_schedule_unlock_irq(v); + + domain_update_node_affinity(v->domain); if ( test_bit(_VPF_migrating, &v->pause_flags) ) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |