debuggers.hg

changeset 21019:46149b7d5df2

sched_credit: Reduce is_urgent flag check to a WARN_ON.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Feb 24 10:58:03 2010 +0000 (2010-02-24)
parents 1bc860c790d9
children 3b475d9ed6b5
files xen/common/sched_credit.c
line diff
     1.1 --- a/xen/common/sched_credit.c	Wed Feb 24 10:57:24 2010 +0000
     1.2 +++ b/xen/common/sched_credit.c	Wed Feb 24 10:58:03 2010 +0000
     1.3 @@ -1060,7 +1060,7 @@ csched_runq_steal(int peer_cpu, int cpu,
     1.4                  /* We got a candidate. Grab it! */
     1.5                  CSCHED_VCPU_STAT_CRANK(speer, migrate_q);
     1.6                  CSCHED_STAT_CRANK(migrate_queued);
     1.7 -                BUG_ON(vc->is_urgent);
     1.8 +                WARN_ON(vc->is_urgent);
     1.9                  __runq_remove(speer);
    1.10                  vc->processor = cpu;
    1.11                  return speer;