aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-02-24 10:58:03 +0000
committerKeir Fraser <keir.fraser@citrix.com>2010-02-24 10:58:03 +0000
commita2fa1e23d076c59ac417bd36a06fa832a2327188 (patch)
treef737c3ccb6534ef82607705b7dfd07409fbe5e0c
parent25a63390b97f5e654a197166fe9c7b891fcb35ee (diff)
downloadxen-a2fa1e23d076c59ac417bd36a06fa832a2327188.tar.gz
xen-a2fa1e23d076c59ac417bd36a06fa832a2327188.tar.bz2
xen-a2fa1e23d076c59ac417bd36a06fa832a2327188.zip
sched_credit: Reduce is_urgent flag check to a WARN_ON.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-rw-r--r--xen/common/sched_credit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c
index 914022ebb9..bb85b94315 100644
--- a/xen/common/sched_credit.c
+++ b/xen/common/sched_credit.c
@@ -1060,7 +1060,7 @@ csched_runq_steal(int peer_cpu, int cpu, int pri)
/* We got a candidate. Grab it! */
CSCHED_VCPU_STAT_CRANK(speer, migrate_q);
CSCHED_STAT_CRANK(migrate_queued);
- BUG_ON(vc->is_urgent);
+ WARN_ON(vc->is_urgent);
__runq_remove(speer);
vc->processor = cpu;
return speer;