Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] selftests/mm: fix ksft_process_madv.sh test category
@ 2026-06-08 10:32 Sarthak Sharma
  2026-06-08 10:37 ` Mark Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sarthak Sharma @ 2026-06-08 10:32 UTC (permalink / raw)
  To: Andrew Morton, David Hildenbrand, Shuah Khan
  Cc: Lorenzo Stoakes, Liam R . Howlett, Vlastimil Babka, Mike Rapoport,
	Suren Baghdasaryan, Michal Hocko, Mark Brown, linux-mm,
	linux-kselftest, linux-kernel, Sarthak Sharma

ksft_process_madv.sh currently runs run_vmtests.sh with the
mmap category. Update it to run the process_madv category,
since ksft_mmap.sh already runs the mmap category tests.

This avoids running mmap tests twice and ensures that process_madv
tests are run through the kselftest harness.

Fixes: 6ce964c02f1c ("selftests/mm: have the harness run each test category separately")
Signed-off-by: Sarthak Sharma <sarthak.sharma@arm.com>
---
 tools/testing/selftests/mm/ksft_process_madv.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/mm/ksft_process_madv.sh b/tools/testing/selftests/mm/ksft_process_madv.sh
index 2c3137ae8bc8..edad2d2d888f 100755
--- a/tools/testing/selftests/mm/ksft_process_madv.sh
+++ b/tools/testing/selftests/mm/ksft_process_madv.sh
@@ -1,4 +1,4 @@
 #!/bin/sh -e
 # SPDX-License-Identifier: GPL-2.0
 
-./run_vmtests.sh -t mmap
+./run_vmtests.sh -t process_madv
-- 
2.39.5



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

* Re: [PATCH] selftests/mm: fix ksft_process_madv.sh test category
  2026-06-08 10:32 [PATCH] selftests/mm: fix ksft_process_madv.sh test category Sarthak Sharma
@ 2026-06-08 10:37 ` Mark Brown
  2026-06-08 11:26 ` Dev Jain
  2026-06-08 11:27 ` David Hildenbrand (Arm)
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2026-06-08 10:37 UTC (permalink / raw)
  To: Sarthak Sharma
  Cc: Andrew Morton, David Hildenbrand, Shuah Khan, Lorenzo Stoakes,
	Liam R . Howlett, Vlastimil Babka, Mike Rapoport,
	Suren Baghdasaryan, Michal Hocko, linux-mm, linux-kselftest,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]

On Mon, Jun 08, 2026 at 04:02:24PM +0530, Sarthak Sharma wrote:
> ksft_process_madv.sh currently runs run_vmtests.sh with the
> mmap category. Update it to run the process_madv category,
> since ksft_mmap.sh already runs the mmap category tests.

> -./run_vmtests.sh -t mmap
> +./run_vmtests.sh -t process_madv

Sorry about that, obviously a cut'n'paste error.

Reviewed-by: Mark Brown <broonie@kernel.org>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: [PATCH] selftests/mm: fix ksft_process_madv.sh test category
  2026-06-08 10:32 [PATCH] selftests/mm: fix ksft_process_madv.sh test category Sarthak Sharma
  2026-06-08 10:37 ` Mark Brown
@ 2026-06-08 11:26 ` Dev Jain
  2026-06-08 11:27 ` David Hildenbrand (Arm)
  2 siblings, 0 replies; 4+ messages in thread
From: Dev Jain @ 2026-06-08 11:26 UTC (permalink / raw)
  To: Sarthak Sharma, Andrew Morton, David Hildenbrand, Shuah Khan
  Cc: Lorenzo Stoakes, Liam R . Howlett, Vlastimil Babka, Mike Rapoport,
	Suren Baghdasaryan, Michal Hocko, Mark Brown, linux-mm,
	linux-kselftest, linux-kernel



On 08/06/26 4:02 pm, Sarthak Sharma wrote:
> ksft_process_madv.sh currently runs run_vmtests.sh with the
> mmap category. Update it to run the process_madv category,
> since ksft_mmap.sh already runs the mmap category tests.
> 
> This avoids running mmap tests twice and ensures that process_madv
> tests are run through the kselftest harness.
> 
> Fixes: 6ce964c02f1c ("selftests/mm: have the harness run each test category separately")
> Signed-off-by: Sarthak Sharma <sarthak.sharma@arm.com>
> ---

Reviewed-by: Dev Jain <dev.jain@arm.com>

>  tools/testing/selftests/mm/ksft_process_madv.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/mm/ksft_process_madv.sh b/tools/testing/selftests/mm/ksft_process_madv.sh
> index 2c3137ae8bc8..edad2d2d888f 100755
> --- a/tools/testing/selftests/mm/ksft_process_madv.sh
> +++ b/tools/testing/selftests/mm/ksft_process_madv.sh
> @@ -1,4 +1,4 @@
>  #!/bin/sh -e
>  # SPDX-License-Identifier: GPL-2.0
>  
> -./run_vmtests.sh -t mmap
> +./run_vmtests.sh -t process_madv



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

* Re: [PATCH] selftests/mm: fix ksft_process_madv.sh test category
  2026-06-08 10:32 [PATCH] selftests/mm: fix ksft_process_madv.sh test category Sarthak Sharma
  2026-06-08 10:37 ` Mark Brown
  2026-06-08 11:26 ` Dev Jain
@ 2026-06-08 11:27 ` David Hildenbrand (Arm)
  2 siblings, 0 replies; 4+ messages in thread
From: David Hildenbrand (Arm) @ 2026-06-08 11:27 UTC (permalink / raw)
  To: Sarthak Sharma, Andrew Morton, Shuah Khan
  Cc: Lorenzo Stoakes, Liam R . Howlett, Vlastimil Babka, Mike Rapoport,
	Suren Baghdasaryan, Michal Hocko, Mark Brown, linux-mm,
	linux-kselftest, linux-kernel

On 6/8/26 12:32, Sarthak Sharma wrote:
> ksft_process_madv.sh currently runs run_vmtests.sh with the
> mmap category. Update it to run the process_madv category,
> since ksft_mmap.sh already runs the mmap category tests.
> 
> This avoids running mmap tests twice and ensures that process_madv
> tests are run through the kselftest harness.
> 
> Fixes: 6ce964c02f1c ("selftests/mm: have the harness run each test category separately")
> Signed-off-by: Sarthak Sharma <sarthak.sharma@arm.com>
> ---
>  tools/testing/selftests/mm/ksft_process_madv.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/mm/ksft_process_madv.sh b/tools/testing/selftests/mm/ksft_process_madv.sh
> index 2c3137ae8bc8..edad2d2d888f 100755
> --- a/tools/testing/selftests/mm/ksft_process_madv.sh
> +++ b/tools/testing/selftests/mm/ksft_process_madv.sh
> @@ -1,4 +1,4 @@
>  #!/bin/sh -e
>  # SPDX-License-Identifier: GPL-2.0
>  
> -./run_vmtests.sh -t mmap
> +./run_vmtests.sh -t process_madv

Thanks!

Acked-by: David Hildenbrand (Arm) <david@kernel.org>

-- 
Cheers,

David


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

end of thread, other threads:[~2026-06-08 11:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-08 10:32 [PATCH] selftests/mm: fix ksft_process_madv.sh test category Sarthak Sharma
2026-06-08 10:37 ` Mark Brown
2026-06-08 11:26 ` Dev Jain
2026-06-08 11:27 ` David Hildenbrand (Arm)

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