public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] runtest/mm: Use the default value for -p
@ 2022-11-11 17:04 Petr Vorel
  2022-11-14 12:10 ` Richard Palethorpe
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2022-11-11 17:04 UTC (permalink / raw)
  To: ltp; +Cc: Richard Palethorpe

Test rewrite in 88321bfff introduced reasonable default value for -p
option "number of mapping children" (nproc -1 in range <1, 20>), let's
use it, instead of forcing -p 20.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 runtest/mm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtest/mm b/runtest/mm
index 51302258a..f288fed36 100644
--- a/runtest/mm
+++ b/runtest/mm
@@ -41,7 +41,7 @@ shmt10 shmt10
 shm_test01	shm_test -l 10 -t 2
 mallocstress01	mallocstress
 
-mmapstress01 mmapstress01 -p 20
+mmapstress01 mmapstress01
 mmapstress02 mmapstress02
 mmapstress03 mmapstress03
 mmapstress04 mmapstress04
-- 
2.38.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [LTP] [PATCH 1/1] runtest/mm: Use the default value for -p
  2022-11-11 17:04 [LTP] [PATCH 1/1] runtest/mm: Use the default value for -p Petr Vorel
@ 2022-11-14 12:10 ` Richard Palethorpe
  2022-11-14 15:08   ` Petr Vorel
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Palethorpe @ 2022-11-14 12:10 UTC (permalink / raw)
  To: Petr Vorel; +Cc: ltp

Hello,

Petr Vorel <pvorel@suse.cz> writes:

> Test rewrite in 88321bfff introduced reasonable default value for -p
> option "number of mapping children" (nproc -1 in range <1, 20>), let's
> use it, instead of forcing -p 20.
>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>

Acked-by: Richard Palethorpe <rpalethorpe@suse.com>

> ---
>  runtest/mm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/runtest/mm b/runtest/mm
> index 51302258a..f288fed36 100644
> --- a/runtest/mm
> +++ b/runtest/mm
> @@ -41,7 +41,7 @@ shmt10 shmt10
>  shm_test01	shm_test -l 10 -t 2
>  mallocstress01	mallocstress
>  
> -mmapstress01 mmapstress01 -p 20
> +mmapstress01 mmapstress01
>  mmapstress02 mmapstress02
>  mmapstress03 mmapstress03
>  mmapstress04 mmapstress04
> -- 
> 2.38.1


-- 
Thank you,
Richard.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LTP] [PATCH 1/1] runtest/mm: Use the default value for -p
  2022-11-14 12:10 ` Richard Palethorpe
@ 2022-11-14 15:08   ` Petr Vorel
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2022-11-14 15:08 UTC (permalink / raw)
  To: Richard Palethorpe; +Cc: ltp

Hi Richie,

> Hello,

> Petr Vorel <pvorel@suse.cz> writes:

> > Test rewrite in 88321bfff introduced reasonable default value for -p
> > option "number of mapping children" (nproc -1 in range <1, 20>), let's
> > use it, instead of forcing -p 20.

Thanks for your review, merged.

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-14 15:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11 17:04 [LTP] [PATCH 1/1] runtest/mm: Use the default value for -p Petr Vorel
2022-11-14 12:10 ` Richard Palethorpe
2022-11-14 15:08   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox