|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 00 of 10 v3] Automatic NUMA placement for xl
On Fri, 2012-07-06 at 12:20 +0100, Ian Campbell wrote:
> You probably want another libxl_bitmap_init near the top of the
> function.
Works for me:
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1341573735 -3600
# Node ID 4f964e2446c935838f54b9cae48a6c62fd8de3d0
# Parent 124ddd91c8de38204e94d3125013a40aaa326774
[mq]: libxl-numa-place-segfault.patch
diff -r 124ddd91c8de -r 4f964e2446c9 tools/libxl/libxl_numa.c
--- a/tools/libxl/libxl_numa.c Wed Jul 04 17:38:44 2012 +0200
+++ b/tools/libxl/libxl_numa.c Fri Jul 06 12:22:15 2012 +0100
@@ -258,6 +258,7 @@ int libxl__get_numa_candidates(libxl__gc
libxl_bitmap suitable_nodemap, nodemap;
int array_size, rc;
+ libxl_bitmap_init(&suitable_nodemap);
libxl_bitmap_init(&nodemap);
/* Get platform info and prepare the map for testing the combinations */
@@ -266,6 +267,7 @@ int libxl__get_numa_candidates(libxl__gc
return ERROR_FAIL;
/* If we don't have at least 2 nodes, it is useless to proceed */
if (nr_nodes < 2) {
+ LOG(DEBUG, "only %d node. no placement required", nr_nodes);
rc = 0;
goto out;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |