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

Re: [Xen-devel] [PATCH for-4.6 v3 1/3] xl: fix vNUMA vdistance parsing



On Mon, 2015-08-17 at 19:56 +0100, Wei Liu wrote:
> We should parse the output from splitting function, not the original
> string, otherwise the parsed result is wrong.
> 
> For example:
> 
> vnuma = [ [...,"vdistance=10,20",...],
>           [...,"vdistance=20,10",...] ]
> 
> Before this change, vdistance from node 0 to all nodes (including
> itself) was 10 and vdistance from node 1 to all nodes was 20.
> 
> After this change, vdistance from node 0 to itself is 10, to node 1 
> is
> 20 and vdistance from node 1 to node 0 is 20, to itself is 10. That's
> the correct vdistance settings we expect.
> 
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> Reviewed-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>


_______________________________________________
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®.