Re: move_pages fails on 2 node system

Filipe Brandenburger <[email protected]> Tue, 16 Sep 2014 15:13:15 -0700
Newsgroups org.kernel.vger.linux-numa
Message-ID <CADU+-uBRSNurUQt0SKun+7WO9uyiPuLmQJGrRjJ1Gyr=BXS8xQ@mail.gmail.com>
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.

Cheers,
Filipe