[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1 of 3] credit2: Make fake runq map initilization explicit
Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> diff -r 36a317494429 -r 861eb3d63f06 xen/common/sched_credit2.c --- a/xen/common/sched_credit2.c Mon Oct 25 18:15:28 2010 +0100 +++ b/xen/common/sched_credit2.c Tue Oct 26 11:06:12 2010 +0100 @@ -1131,10 +1131,14 @@ static void make_runq_map(struct csched_private *prv) { + int i; /* FIXME: Read pcpu layout and do this properly */ prv->runq_count = 1; prv->rqd[0].cpu_min = 0; prv->rqd[0].cpu_max = NR_CPUS; + + for (i=0; i<NR_CPUS; i++) + prv->runq_map[i]=0; } static int _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |