diff --git a/core/memory.cc b/core/memory.cc index db2339457..138e5251e 100644 --- a/core/memory.cc +++ b/core/memory.cc @@ -1019,7 +1019,7 @@ void configure(std::vector m, #ifdef HAVE_NUMA unsigned long nodemask = 1UL << x.nodeid; auto r = ::mbind(cpu_mem.mem() + pos, x.bytes, - MPOL_BIND, + MPOL_PREFERRED, &nodemask, std::numeric_limits::digits, MPOL_MF_MOVE);