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

[Xen-changelog] Add extra tracing near a commonly-failing scheduler assertion.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID be669c4b1e6b34f1de52137cd86108a821df90e3
# Parent  c445d4a0dd76b4859d058368ffab7c65f732acab
Add extra tracing near a commonly-failing scheduler assertion.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r c445d4a0dd76 -r be669c4b1e6b xen/common/sched_sedf.c
--- a/xen/common/sched_sedf.c   Tue Mar 14 18:33:45 2006
+++ b/xen/common/sched_sedf.c   Wed Mar 15 09:32:34 2006
@@ -585,6 +585,10 @@
                 curinf->deadl_abs += 
                     DIV_UP(now - curinf->deadl_abs,
                            curinf->period) * curinf->period;
+            if (unlikely(curinf->deadl_abs < now))
+                printk("Fatal scheduler error: %lld %lld %lld diff=%lld\n",
+                       curinf->deadl_abs, now, curinf->period,
+                       now - curinf->deadl_abs);
             ASSERT(curinf->deadl_abs >= now);
             /*give a fresh slice*/
             curinf->cputime = 0;

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