Re: move_pages fails on 2 node system

David Rientjes <[email protected]> Tue, 16 Sep 2014 15:38:38 -0700 (PDT)
Newsgroups org.kernel.vger.linux-numa
Message-ID <[email protected]>
On Tue, 16 Sep 2014, Filipe Brandenburger wrote:

> On Tue, Sep 16, 2014 at 1:22 PM, David Rientjes <[email protected]> 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.
> 

Patch makes no sense to me if there's no node 0.