tshared fails

Ganapatrao Kulkarni <[email protected]> Mon, 22 Sep 2014 09:35:08 +0530
Newsgroups org.kernel.vger.linux-numa
Message-ID <CAFpQJXXR5quD-1wfagtao8SBDt3+SsEjVmt4t-YTqyBtPCV95w@mail.gmail.com>
Hi,

i am trying to run numactl test tshared on our platform for which i
have ported numa support.
i am trying this with kernel version 3.17

the issue is numa_alloc_interleaved() fails. however same test case
passes, if  i do below changes.

1 if i just remove fork() in the tshared.c code. then this test passes.

2. also if i just change the flag of mmap to MAP_SHARED instead  MAP_PRIVATE
in function numa_alloc_interleaved_subset_v2, then test passes.

i don't see any dependency/relation on the arch specific code that i
have ported to this to fail.
any idea what is going wrong? has any one tested this test on x86 with
3.17 kernel?

i am using numactl 2.0.9

thanks
Ganapat