On Mon, Sep 22, 2014 at 9:35 AM, Ganapatrao Kulkarni <gpkulkarni@xxxxxxxxx> wrote: > 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 > this test case looks to me not correct. The VM which is set as COW are written in child process gets there own page from respective nodes, however Parent VM is not mapped since it is not doing any writing and expecting the pages to be mapped from respective nodes. > thanks > Ganapat -- 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