Remove some spurious BUG_ON()'s from the credit scheduler.

Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
shand@kneesaa.uk.xensource.com committed 2006-06-20 11:02:49 +01:00
1 parent 22737f2517
commit e055d02fde
1 file changed
-4
-4
View File
@@ -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;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.