mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Remove some spurious BUG_ON()'s from the credit scheduler.
Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
1 parent
22737f2517
commit
e055d02fde
1 file changed
-4
@@ -967,9 +967,6 @@ csched_load_balance(int cpu, struct csched_vcpu *snext)
|
||||
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;
|
||||
}
|
||||
|
||||