ia64/xen-unstable

changeset 9283:be669c4b1e6b

Add extra tracing near a commonly-failing scheduler assertion.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Mar 15 10:32:34 2006 +0100 (2006-03-15)
parents c445d4a0dd76
children 5618b13ac97f
files xen/common/sched_sedf.c
line diff
     1.1 --- a/xen/common/sched_sedf.c	Tue Mar 14 19:33:45 2006 +0100
     1.2 +++ b/xen/common/sched_sedf.c	Wed Mar 15 10:32:34 2006 +0100
     1.3 @@ -585,6 +585,10 @@ static void update_queues(
     1.4                  curinf->deadl_abs += 
     1.5                      DIV_UP(now - curinf->deadl_abs,
     1.6                             curinf->period) * curinf->period;
     1.7 +            if (unlikely(curinf->deadl_abs < now))
     1.8 +                printk("Fatal scheduler error: %lld %lld %lld diff=%lld\n",
     1.9 +                       curinf->deadl_abs, now, curinf->period,
    1.10 +                       now - curinf->deadl_abs);
    1.11              ASSERT(curinf->deadl_abs >= now);
    1.12              /*give a fresh slice*/
    1.13              curinf->cputime = 0;