On Tue, Sep 16, 2014 at 1:22 PM, David Rientjes <rientjes@xxxxxxxxxx> wrote: > If this patch fixes it, then why is numa_max_node() returning 1 on a 2 > node system? Because the node ids are 0 and 1 :-) Patch makes sense to me. In particular, both test/migrate_pages.c and test/mbind_mig_pages.c have "nr_nodes = numa_max_node()+1;" in them. Cheers, Filipe -- To unsubscribe from this list: send the line "unsubscribe linux-numa" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html