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

Re: [Xen-devel] [PATCH] xenconsoled: use array index to keep track of pollfd



Marcus Granado writes ("Re: [PATCH] xenconsoled: use array index to keep track 
of pollfd"):
> On 19/03/13 17:45, Wei Liu wrote:
> > If we use pointers to reference elements inside array, it is possible that 
> > we
> > get wild pointer after realloc(3) copies array and returns a new pointer.
> >
> > Keep track of element indexes inside the array can solve this problem.
...
> I was able to start 700 vms in a host using the patch above.
> 
> Reviewed-by: Marcus Granado <marcus.granado@xxxxxxxxxx>
> Tested-by: Marcus Granado <marcus.granado@xxxxxxxxxx>

Thanks to both of you.  Committed.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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