diff mbox series

[1/1] runtest/mm: Use the default value for -p

Message ID 20221111170410.16350-1-pvorel@suse.cz
State Accepted
Headers show
Series [1/1] runtest/mm: Use the default value for -p | expand

Commit Message

Petr Vorel Nov. 11, 2022, 5:04 p.m. UTC
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(-)

Comments

Richard Palethorpe Nov. 14, 2022, 12:10 p.m. UTC | #1
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
Petr Vorel Nov. 14, 2022, 3:08 p.m. UTC | #2
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
diff mbox series

Patch

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