[ovs-dev] [PATCH] ovs-numa: Fix a missing initialization.
Alex Wang
alexw at nicira.com
Mon Sep 8 15:29:22 UTC 2014
This commit updates the pointer to 'struct numa_node'
when initializing the 'struct cpu_core'.
Signed-off-by: Alex Wang <alexw at nicira.com>
---
lib/ovs-numa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/ovs-numa.c b/lib/ovs-numa.c
index 4f0ba0d..7da1407 100644
--- a/lib/ovs-numa.c
+++ b/lib/ovs-numa.c
@@ -122,6 +122,7 @@ discover_numa_and_core(void)
hash_int(core_id, 0));
list_insert(&n->cores, &c->list_node);
c->core_id = core_id;
+ c->numa = n;
n_cpus++;
}
}
--
1.7.9.5
More information about the dev
mailing list