[LTP] [PATCH v2] syscalls/mbind0{2,3,4}: Add basic mbind tests

Li Wang liwang@redhat.com
Tue Jul 23 11:48:55 CEST 2019


On Tue, Jul 23, 2019 at 5:33 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> > Why not test MPOL_INTERLEAVE for mbind02? I guess it also makes sense
> > to add here.
>
> Good catch, we have a bitmask with a single node, so I guess that this
> would work as well. Have you tested it?

Yes, it works for me.

> > I remember there are some ppc64le which have non-continuous numa nodes
> > in hardware configuration. I'm not sure if that special config will
> > break the mbind04 test, will update details to you after I run this
> > test on such a system.
>
> The LTP NUMA library should handle that, the nodes->cnt is the
> lenght of the NUMA map and the actual node ids are in the nodes->map[]
> array.

You're right, I verified that it doesn't affect by the non-continuous
node system.

-- 
Regards,
Li Wang


More information about the ltp mailing list