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

[Xen-devel] Re: [PATCH] Don't assume the vcpu_id is continous in alloc_vcpu



On 12/11/2009 11:08, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:

> Currently in alloc_vcpu, it assumes the vcpu is allocated with vcpu_id is
> continous.
> When cpu hot-added, this assumption is broken because the hot-added CPU may be
> brougt online by dom0 in arbitrary order. This patch try to link the new vcpu
> to the end of the link.
> 
> Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx>

Is this something to do with allocating vcpus for the idle domain?

If so, I suggest we just allocate vcpu_ids sequentially on-demand. I can
work up a patch for you to test if you like.

 -- Keir



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


 


Rackspace

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