2) Which is the
behaviour of HWLOC_MEMBIND_BIND flag?
From the manual:
"Allocate memory on the specified nodes."
It means that I can allocate without binding the
memory?
What happens if one thread allocate and another
thread in another node read/write for the first time this
memory? In a little example I see the memory is allocated on
the second thread, not where first thread does malloc(). So,
when I have to use HWLOC_MEMBIND_BIND flag? Or it has nothing
to do with binding?
If the effective allocation is done when first
thread touch the memory, which is the means of this flag?