Skip to content
Snippets Groups Projects
Commit 7cc56c1a authored by Ali Mohammed's avatar Ali Mohammed
Browse files

print numa node of a thread as well

parent 418b18a4
No related branches found
No related tags found
No related merge requests found
...@@ -250,6 +250,7 @@ mstro_numa_bind_thread(char *tidprefix) ...@@ -250,6 +250,7 @@ mstro_numa_bind_thread(char *tidprefix)
struct bitmask *nodemask = numa_allocate_cpumask(); struct bitmask *nodemask = numa_allocate_cpumask();
numa_bitmask_setbit(nodemask, numa_node); numa_bitmask_setbit(nodemask, numa_node);
numa_set_membind(nodemask); numa_set_membind(nodemask);
LOG_INFO(MSTRO_LOG_MODULE_CORE, "%s thread is bound to memory node %d\n", tidprefix, numa_node);
numa_free_cpumask(nodemask); numa_free_cpumask(nodemask);
status = MSTRO_OK; status = MSTRO_OK;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment