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] [xen-unstable] Remove some spurious BUG_ON()'s from the

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Remove some spurious BUG_ON()'s from the credit scheduler.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jun 2006 15:01:44 +0000
Delivery-date: Tue, 20 Jun 2006 08:04:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 shand@xxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 7172935d10d45e0c7411287673e8a0b9245abf37
# Parent  1297dc3153088f625b477f7f00a78347591e40f4
Remove some spurious BUG_ON()'s from the credit scheduler. 

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>
---
 xen/common/sched_credit.c |    4 ----
 1 files changed, 4 deletions(-)

diff -r 1297dc315308 -r 7172935d10d4 xen/common/sched_credit.c
--- a/xen/common/sched_credit.c Tue Jun 20 10:25:22 2006 +0100
+++ b/xen/common/sched_credit.c Tue Jun 20 11:02:49 2006 +0100
@@ -967,9 +967,6 @@ csched_load_balance(int cpu, struct csch
         if ( peer_cpu == cpu )
             break;
 
-        BUG_ON( peer_cpu >= csched_priv.ncpus );
-        BUG_ON( peer_cpu == cpu );
-
         /*
          * Get ahold of the scheduler lock for this peer CPU.
          *
@@ -1072,7 +1069,6 @@ csched_schedule(s_time_t now)
     ret.task = snext->vcpu;
 
     CSCHED_VCPU_CHECK(ret.task);
-    BUG_ON( !vcpu_runnable(ret.task) );
 
     return ret;
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Remove some spurious BUG_ON()'s from the credit scheduler., Xen patchbot-unstable <=