NUMA: move numa related code to new file numa.c