[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [question] bug in cpu_schedule_up?
Hi, I see below code in cpu_schedule_up in xen-unstable hg repository (xen/common/schedule.c). if ( idle_vcpu[cpu] == NULL ) alloc_vcpu(idle_vcpu[0]->domain, cpu, cpu); if ( idle_vcpu[cpu] == NULL ) return -ENOMEM; Seems it's a bug? Should be like this? if ( idle_vcpu[cpu] == NULL ) idle_vcpu[cpu] = alloc_vcpu(idle_vcpu[0]->domain, cpu, cpu); if ( idle_vcpu[cpu] == NULL ) return -ENOMEM; -cody _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |