[LTP] [PATCH v2 2/2] syscalls/mbind: cleanup and rewrite mbind01 into new API
Jan Stancek
jstancek@redhat.com
Wed Aug 30 17:24:17 CEST 2017
----- Original Message -----
> 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.
Pushed.
I used a version that adds int cast for 1/2,
no additional changes in 2/2.
Regards,
Jan
More information about the ltp
mailing list