[LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy*

Petr Vorel pvorel@suse.cz
Fri Aug 30 12:57:29 CEST 2019


Hi Yang,

> On 2019/08/30 4:38, Petr Vorel wrote:
> > Hi,

> > > Since commit 55ee8a5ad ("syscalls: Add set_mempolicy numa tests"),
> > > these cases have been added into runtests/numa, but forget to add it
> > > in runtest/syscalls.
> > > Signed-off-by: Yang Xu<xuyang2018.jy@cn.fujitsu.com>
> > Reviewed-by: Petr Vorel<pvorel@suse.cz>
> > > ---
> > >   runtest/syscalls | 5 +++++
> > >   1 file changed, 5 insertions(+)
> > > diff --git a/runtest/syscalls b/runtest/syscalls
> > > index c41ba2a0d..1694ef147 100644
> > > --- a/runtest/syscalls
> > > +++ b/runtest/syscalls
> > > @@ -1177,6 +1177,11 @@ setitimer01 setitimer01
> > >   setitimer02 setitimer02
> > >   setitimer03 setitimer03
> > > +set_mempolicy01 set_mempolicy01
> > > +set_mempolicy02 set_mempolicy02
> > > +set_mempolicy03 set_mempolicy03
> > > +set_mempolicy04 set_mempolicy04
> > > +
> > >   setns01 setns01
> > >   setns02 setns02
> > Wouldn't be better to move all NUMA tests out of syscalls?
> > Syscalls are big already.
> Hi Petr,

> all NUMA tests actually verify the functionality of syscalls(move_pages(2),
> set_mempolicy(2), etc)
> so I think that they can be added into syscalls group.

> PS: If someone want to run syscalls from LTP as many as possible, they just
> need to run syscalls group directly.
OK, ack.

PS: I'd prefer syscalls to be just includes of other runtests (otherwise we keep
forgetting to add testcases), but that won't happen until docparse & new runner
are released.


Kind regards,
Petr


More information about the ltp mailing list