WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Add extra tracing near a commonly-failing scheduler assertion.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Mar 2006 18:50:06 +0000
Delivery-date: Wed, 15 Mar 2006 18:51:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Add extra tracing near a commonly-failing scheduler assertion., Xen patchbot -unstable <=