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

[Xen-changelog] [xen-unstable] Remove some spurious BUG_ON()'s from the credit scheduler.



# HG changeset patch
# User shand@xxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 7172935d10d45e0c7411287673e8a0b9245abf37
# Parent  1297dc3153088f625b477f7f00a78347591e40f4
Remove some spurious BUG_ON()'s from the credit scheduler. 

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>
---
 xen/common/sched_credit.c |    4 ----
 1 files changed, 4 deletions(-)

diff -r 1297dc315308 -r 7172935d10d4 xen/common/sched_credit.c
--- a/xen/common/sched_credit.c Tue Jun 20 10:25:22 2006 +0100
+++ b/xen/common/sched_credit.c Tue Jun 20 11:02:49 2006 +0100
@@ -967,9 +967,6 @@ csched_load_balance(int cpu, struct csch
         if ( peer_cpu == cpu )
             break;
 
-        BUG_ON( peer_cpu >= csched_priv.ncpus );
-        BUG_ON( peer_cpu == cpu );
-
         /*
          * Get ahold of the scheduler lock for this peer CPU.
          *
@@ -1072,7 +1069,6 @@ csched_schedule(s_time_t now)
     ret.task = snext->vcpu;
 
     CSCHED_VCPU_CHECK(ret.task);
-    BUG_ON( !vcpu_runnable(ret.task) );
 
     return ret;
 }

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


 


Rackspace

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