[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 1 of 3] credit2: Putting a vcpu to sleep also removes the delayed_runq_add flag



Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

diff -r 49d2aa5cee4e -r 9c5960826cd6 xen/common/sched_credit2.c
--- a/xen/common/sched_credit2.c        Thu Dec 09 16:17:33 2010 +0000
+++ b/xen/common/sched_credit2.c        Thu Dec 09 17:50:54 2010 +0000
@@ -668,6 +668,8 @@
         cpu_raise_softirq(vc->processor, SCHEDULE_SOFTIRQ);
     else if ( __vcpu_on_runq(svc) )
         __runq_remove(svc);
+    else if ( test_bit(__CSFLAG_delayed_runq_add, &svc->flags) )
+        clear_bit(__CSFLAG_delayed_runq_add, &svc->flags);
 }
 
 static void

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.