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] credit2: Make fake runq map initilization

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] credit2: Make fake runq map initilization explicit
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 02 Nov 2010 04:50:33 -0700
Delivery-date: Tue, 02 Nov 2010 04:52:48 -0700
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir@xxxxxxx>
# Date 1288343970 -3600
# Node ID a8d46d974c8b437576f133126865a8efa872a820
# Parent  2556fad9a82153e7685d48c287f40ca8327e5593
credit2: Make fake runq map initilization explicit

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
---
 xen/common/sched_credit2.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 2556fad9a821 -r a8d46d974c8b xen/common/sched_credit2.c
--- a/xen/common/sched_credit2.c        Fri Oct 29 10:17:07 2010 +0100
+++ b/xen/common/sched_credit2.c        Fri Oct 29 10:19:30 2010 +0100
@@ -1135,6 +1135,7 @@ make_runq_map(struct csched_private *prv
     prv->runq_count = 1;
     prv->rqd[0].cpu_min = 0;
     prv->rqd[0].cpu_max = NR_CPUS;
+    memset(prv->runq_map, 0, sizeof(prv->runq_map));
 }
 
 static int

_______________________________________________
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] credit2: Make fake runq map initilization explicit, Xen patchbot-unstable <=