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

[Xen-changelog] [xen-unstable] credit2: Make fake runq map initilization explicit



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.