* [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy*
@ 2019-08-28 10:14 Yang Xu
2019-08-28 10:14 ` [LTP] [PATCH 2/2] runtest/numa: add migrate_pages* Yang Xu
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Yang Xu @ 2019-08-28 10:14 UTC (permalink / raw)
To: ltp
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>
---
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
--
2.18.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [LTP] [PATCH 2/2] runtest/numa: add migrate_pages*
2019-08-28 10:14 [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy* Yang Xu
@ 2019-08-28 10:14 ` Yang Xu
2019-08-29 20:41 ` Petr Vorel
2019-08-28 10:25 ` [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy* Xiao Yang
2019-08-29 20:38 ` Petr Vorel
2 siblings, 1 reply; 12+ messages in thread
From: Yang Xu @ 2019-08-28 10:14 UTC (permalink / raw)
To: ltp
Since migrate_pages must depend on numa, add it into
runtest/numa.
Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
---
runtest/numa | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/runtest/numa b/runtest/numa
index 7885be90c..45d15e768 100644
--- a/runtest/numa
+++ b/runtest/numa
@@ -12,6 +12,10 @@ move_pages10 move_pages10
move_pages11 move_pages11
move_pages12 move_pages12
+migrate_pages01 migrate_pages01
+migrate_pages02 migrate_pages02
+migrate_pages03 migrate_pages03
+
set_mempolicy01 set_mempolicy01
set_mempolicy02 set_mempolicy02
set_mempolicy03 set_mempolicy03
--
2.18.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy*
2019-08-28 10:14 [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy* Yang Xu
2019-08-28 10:14 ` [LTP] [PATCH 2/2] runtest/numa: add migrate_pages* Yang Xu
@ 2019-08-28 10:25 ` Xiao Yang
2019-08-29 20:38 ` Petr Vorel
2 siblings, 0 replies; 12+ messages in thread
From: Xiao Yang @ 2019-08-28 10:25 UTC (permalink / raw)
To: ltp
Hi,
This patch set looks good to me.
Just one comment, migrate_pages should be added before move_pages in
alphabetical order.
Reviewed-by: Xiao Yang <ice_yangxiao@163.com>
Best Regards,
Xiao Yang
On 2019/08/28 18:14, Yang Xu wrote:
> 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>
> ---
> 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
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy*
2019-08-28 10:14 [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy* Yang Xu
2019-08-28 10:14 ` [LTP] [PATCH 2/2] runtest/numa: add migrate_pages* Yang Xu
2019-08-28 10:25 ` [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy* Xiao Yang
@ 2019-08-29 20:38 ` Petr Vorel
2019-08-30 2:04 ` Xiao Yang
2 siblings, 1 reply; 12+ messages in thread
From: Petr Vorel @ 2019-08-29 20:38 UTC (permalink / raw)
To: ltp
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.
BTW I'm looking forward to the new testrunner [1][2], which also solve problem
of runtest files :)
Kind regards,
Petr
[1] https://people.kernel.org/metan/towards-parallel-kernel-test-runs
[2] https://github.com/metan-ucw/ltp/tree/master/docparse
^ permalink raw reply [flat|nested] 12+ messages in thread
* [LTP] [PATCH 2/2] runtest/numa: add migrate_pages*
2019-08-28 10:14 ` [LTP] [PATCH 2/2] runtest/numa: add migrate_pages* Yang Xu
@ 2019-08-29 20:41 ` Petr Vorel
2019-08-30 1:43 ` Xiao Yang
0 siblings, 1 reply; 12+ messages in thread
From: Petr Vorel @ 2019-08-29 20:41 UTC (permalink / raw)
To: ltp
Hi Xu,
> Since migrate_pages must depend on numa, add it into
> runtest/numa.
> Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
Thanks for the patch, merged.
Kind regards,
Petr
^ permalink raw reply [flat|nested] 12+ messages in thread
* [LTP] [PATCH 2/2] runtest/numa: add migrate_pages*
2019-08-29 20:41 ` Petr Vorel
@ 2019-08-30 1:43 ` Xiao Yang
2019-08-30 10:54 ` Petr Vorel
2019-08-30 12:58 ` Petr Vorel
0 siblings, 2 replies; 12+ messages in thread
From: Xiao Yang @ 2019-08-30 1:43 UTC (permalink / raw)
To: ltp
On 2019/08/30 4:41, Petr Vorel wrote:
> Hi Xu,
>
>> Since migrate_pages must depend on numa, add it into
>> runtest/numa.
>> Signed-off-by: Yang Xu<xuyang2018.jy@cn.fujitsu.com>
> Thanks for the patch, merged.
Hi Petr,
Why don't sort numa tests alphabetically as my replied?
Best Regards,
Xiao Yang
> Kind regards,
> Petr
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy*
2019-08-29 20:38 ` Petr Vorel
@ 2019-08-30 2:04 ` Xiao Yang
2019-08-30 9:50 ` Yang Xu
2019-08-30 10:57 ` Petr Vorel
0 siblings, 2 replies; 12+ messages in thread
From: Xiao Yang @ 2019-08-30 2:04 UTC (permalink / raw)
To: ltp
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.
Best Regards,
Xiao Yang
> BTW I'm looking forward to the new testrunner [1][2], which also solve problem
> of runtest files :)
>
> Kind regards,
> Petr
>
> [1] https://people.kernel.org/metan/towards-parallel-kernel-test-runs
> [2] https://github.com/metan-ucw/ltp/tree/master/docparse
>
>
> .
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy*
2019-08-30 2:04 ` Xiao Yang
@ 2019-08-30 9:50 ` Yang Xu
2019-08-30 13:08 ` Petr Vorel
2019-08-30 10:57 ` Petr Vorel
1 sibling, 1 reply; 12+ messages in thread
From: Yang Xu @ 2019-08-30 9:50 UTC (permalink / raw)
To: ltp
on 2019/08/30 10:04, Xiao Yang wrote:
> 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.
+1 , set_mempolicy syscall should belong to numa and syscall group.
> Best Regards,
> Xiao Yang
>> BTW I'm looking forward to the new testrunner [1][2], which also solve problem
>> of runtest files :)
Hi Petr
For new testrunner, I think it is a good improvement to save test time by parallel running case.
I am also looking forward to it.
>> Kind regards,
>> Petr
>> [1] https://people.kernel.org/metan/towards-parallel-kernel-test-runs
>> [2] https://github.com/metan-ucw/ltp/tree/master/docparse
>> .
> .
^ permalink raw reply [flat|nested] 12+ messages in thread
* [LTP] [PATCH 2/2] runtest/numa: add migrate_pages*
2019-08-30 1:43 ` Xiao Yang
@ 2019-08-30 10:54 ` Petr Vorel
2019-08-30 12:58 ` Petr Vorel
1 sibling, 0 replies; 12+ messages in thread
From: Petr Vorel @ 2019-08-30 10:54 UTC (permalink / raw)
To: ltp
Hi Yang,
> On 2019/08/30 4:41, Petr Vorel wrote:
> > Hi Xu,
> > > Since migrate_pages must depend on numa, add it into
> > > runtest/numa.
> > > Signed-off-by: Yang Xu<xuyang2018.jy@cn.fujitsu.com>
> > Thanks for the patch, merged.
> Hi Petr,
> Why don't sort numa tests alphabetically as my replied?
I'm sorry. I overlooked it as you put your commend to 1st commit
(this is a second commit). Feel free to fix it or I'll do it later today.
BTW I suggest also sort alphabetically Numa-testcases numa01.sh
and rename it to numa_testcases numa01.sh
Kind regards,
Petr
^ permalink raw reply [flat|nested] 12+ messages in thread
* [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy*
2019-08-30 2:04 ` Xiao Yang
2019-08-30 9:50 ` Yang Xu
@ 2019-08-30 10:57 ` Petr Vorel
1 sibling, 0 replies; 12+ messages in thread
From: Petr Vorel @ 2019-08-30 10:57 UTC (permalink / raw)
To: ltp
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [LTP] [PATCH 2/2] runtest/numa: add migrate_pages*
2019-08-30 1:43 ` Xiao Yang
2019-08-30 10:54 ` Petr Vorel
@ 2019-08-30 12:58 ` Petr Vorel
1 sibling, 0 replies; 12+ messages in thread
From: Petr Vorel @ 2019-08-30 12:58 UTC (permalink / raw)
To: ltp
Hi Yang,
> Hi Petr,
> Why don't sort numa tests alphabetically as my replied?
Fix merged. Thanks for reporting it.
Kind regards,
Petr
^ permalink raw reply [flat|nested] 12+ messages in thread
* [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy*
2019-08-30 9:50 ` Yang Xu
@ 2019-08-30 13:08 ` Petr Vorel
0 siblings, 0 replies; 12+ messages in thread
From: Petr Vorel @ 2019-08-30 13:08 UTC (permalink / raw)
To: ltp
Hi,
> > PS: If someone want to run syscalls from LTP as many as possible, they
> > just need to run syscalls group directly.
> +1 , set_mempolicy syscall should belong to numa and syscall group.
OK, merged. + I sorted them properly, with other set_* tests in that commit.
Kind regards,
Petr
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2019-08-30 13:08 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28 10:14 [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy* Yang Xu
2019-08-28 10:14 ` [LTP] [PATCH 2/2] runtest/numa: add migrate_pages* Yang Xu
2019-08-29 20:41 ` Petr Vorel
2019-08-30 1:43 ` Xiao Yang
2019-08-30 10:54 ` Petr Vorel
2019-08-30 12:58 ` Petr Vorel
2019-08-28 10:25 ` [LTP] [PATCH 1/2] runtest/syscalls: add set_mempolicy* Xiao Yang
2019-08-29 20:38 ` Petr Vorel
2019-08-30 2:04 ` Xiao Yang
2019-08-30 9:50 ` Yang Xu
2019-08-30 13:08 ` Petr Vorel
2019-08-30 10:57 ` Petr Vorel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.