[LTP] [PATCH v2 2/2] syscalls/mbind: cleanup and rewrite mbind01 into new API

Petr Vorel pvorel@suse.cz
Wed Aug 30 16:35:42 CEST 2017


Hi Jan,

> > I'm ok with all but this one. It's needed for a first case
> > (POLICY_DESC(MPOL_DEFAULT),),
> > no mater whether it's first or not. So I didn't put expected_nodemask to it
> > in my v3. Or
> > am I'm missing something.

> It's not needed, because we compare against "empty_nodemask"
> in this case. "nodemask" is not used at all. mbind() doesn't use
> any mask (in test_none()) and numa_bitmask_equal() compares
> "getnodemask" with "empty_nodemask".

Thanks for an explanation. Please push it all.


Kind regards,
Petr


More information about the ltp mailing list