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

[Xen-changelog] [xen-unstable] sched_credit: Reduce is_urgent flag check to a WARN_ON.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1267009083 0
# Node ID 46149b7d5df2fc3d56d2b78f7f52116f541caae8
# Parent  1bc860c790d9d4e0f8732bc8f1b3fb65583bd842
sched_credit: Reduce is_urgent flag check to a WARN_ON.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/common/sched_credit.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 1bc860c790d9 -r 46149b7d5df2 xen/common/sched_credit.c
--- a/xen/common/sched_credit.c Wed Feb 24 10:57:24 2010 +0000
+++ b/xen/common/sched_credit.c Wed Feb 24 10:58:03 2010 +0000
@@ -1060,7 +1060,7 @@ csched_runq_steal(int peer_cpu, int cpu,
                 /* 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;

_______________________________________________
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®.