: pass:0 fail:0 xfail:0 xpass:0 skip:1 error:0
~ [SKIP]
ok 4 hugepage-mremap # SKIP
Acked-by: David Hildenbrand
Reviewed-by: Zi Yan
Co-developed-by: Donet Tom
Signed-off-by: Donet Tom
Signed-off-by: Aboorva Devarajan
---
tools/testing/selftests/mm/hugepage-mremap.c | 16 +---
1 file
increase shmmax:
~ ~ echo 262144 > /proc/sys/kernel/shmmax
~ 1..0 ~ SKIP Test skipped due to insufficient shmmax value.
~ [SKIP]
ok 29 thuge-gen ~ SKIP
Reviewed-by: Dev Jain
Acked-by: David Hildenbrand
Reviewed-by: Zi Yan
Co-developed-by: Donet Tom
Signed-off-by: Donet Tom
Signed-off-
Donet Tom
Signed-off-by: Aboorva Devarajan
---
.../testing/selftests/mm/ksm_functional_tests.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/tools/testing/selftests/mm/ksm_functional_tests.c
b/tools/testing/selftests/mm/ksm_functional_tests.c
index 99
page size systems.
Fixes: fa6c02315f745 ("mm: huge_memory: a new debugfs interface for splitting
THP tests")
Reviewed-by: Dev Jain
Reviewed-by: Zi Yan
Co-developed-by: Aboorva Devarajan
Signed-off-by: Aboorva Devarajan
Signed-off-by: Donet Tom
---
.../selftests/mm/split_huge_pa
ksm fork/exec")
Co-developed-by: Aboorva Devarajan
Signed-off-by: Aboorva Devarajan
Signed-off-by: Donet Tom
---
tools/testing/selftests/mm/ksm_functional_tests.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests/mm/ksm_functional
address.
Reviewed-by: Dev Jain
Acked-by: David Hildenbrand
Reviewed-by: Zi Yan
Co-developed-by: Aboorva Devarajan
Signed-off-by: Aboorva Devarajan
Signed-off-by: Donet Tom
---
tools/testing/selftests/mm/virtual_address_range.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a
)
Reviewed-by: Dev Jain
Acked-by: David Hildenbrand
Reviewed-by: Zi Yan
Co-developed-by: Aboorva Devarajan
Signed-off-by: Aboorva Devarajan
Signed-off-by: Donet Tom
---
tools/testing/selftests/mm/virtual_address_range.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/too
failing userfaultfd test when unsupported,
instead of reporting a failure.
---
Please let us know if you have any further comments.
Thanks,
Aboorva
Aboorva Devarajan (3):
selftests/mm: Fix child process exit codes in ksm_functional_tests
selftests/mm: Skip thuge-gen test if system i
: pass:0 fail:0 xfail:0 xpass:0 skip:1 error:0
~ [SKIP]
ok 4 hugepage-mremap # SKIP
Signed-off-by: Aboorva Devarajan
---
tools/testing/selftests/mm/hugepage-mremap.c | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/mm/hugepage-mremap.c
b
increase shmmax:
~ ~ echo 262144 > /proc/sys/kernel/shmmax
~ 1..0 ~ SKIP Test skipped due to insufficient shmmax value.
~ [SKIP]
ok 29 thuge-gen ~ SKIP
Signed-off-by: Aboorva Devarajan
---
tools/testing/selftests/mm/thuge-gen.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
skip:0 error:0
Fixes: 6c47de3be3a0 ("selftest/mm: ksm_functional_tests: extend test case for
ksm fork/exec")
Signed-off-by: Aboorva Devarajan
---
tools/testing/selftests/mm/ksm_functional_tests.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/too
page size systems.
Fixes: fa6c02315f745 ("mm: huge_memory: a new debugfs interface for splitting
THP tests")
Signed-off-by: Donet Tom
Signed-off-by: Aboorva Devarajan
---
.../selftests/mm/split_huge_page_test.c | 23 ++-
1 file changed, 17 insertions(+), 6 deleti
m fork/exec")
Signed-off-by: Donet Tom
Signed-off-by: Aboorva Devarajan
---
tools/testing/selftests/mm/ksm_functional_tests.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests/mm/ksm_functional_tests.c
b/tools/testing/selftests/mm/ksm
address.
Signed-off-by: Donet Tom
Signed-off-by: Aboorva Devarajan
---
tools/testing/selftests/mm/virtual_address_range.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/tools/testing/selftests/mm/virtual_address_range.c
b/tools/testing/selftests/mm/virtual_address_range.c
index
t;)
Signed-off-by: Donet Tom
Signed-off-by: Aboorva Devarajan
---
tools/testing/selftests/mm/virtual_address_range.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/mm/virtual_address_range.c
b/tools/testing/selftests/mm/virtual_address_range.c
index 16
nsupported,
instead of reporting a failure.
---
Please let us know if you have any further comments.
Thanks,
Aboorva
Aboorva Devarajan (3):
selftests/mm: Fix child process exit codes in ksm_functional_tests
selftests/mm: Skip thuge-gen if shmmax is too small or no 1G huge
pages
se
this out.
We'll rebase the patches against mm-new and repost them as v2.
Regards,
Aboorva
>
> On Mon, Jun 16, 2025 at 09:36:26PM +0530, Aboorva Devarajan wrote:
> > This patch series fixes some of the false positives in generic
> > mm selftests and skips test
ease run the following command to increase shmmax:
~ ~ echo 262144 > /proc/sys/kernel/shmmax
~ 1..0 ~ SKIP Test skipped due to insufficient shmmax value.
~ [SKIP]
ok 29 thuge-gen ~ SKIP
Signed-off-by: Aboorva Devarajan
---
tools/testing/selftests/mm/thuge-gen.c | 11 +++
1 file
p
to ensure the counter is reset and the system is in a clean state for
subsequent tests.
Signed-off-by: Donet Tom
Signed-off-by: Aboorva Devarajan
---
tools/testing/selftests/mm/ksm_functional_tests.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/tools/testi
page size systems.
Signed-off-by: Donet Tom
Signed-off-by: Aboorva Devarajan
---
.../selftests/mm/split_huge_page_test.c | 23 +++
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/tools/testing/selftests/mm/split_huge_page_test.c
b/tools/testing/se
From: Donet Tom
execv argument is an array of pointers to null-terminated strings.
In this patch we added NULL in the execv argument to fix the test
failure.
Signed-off-by: Donet Tom
Signed-off-by: Aboorva Devarajan
---
tools/testing/selftests/mm/ksm_functional_tests.c | 2 +-
1 file changed
unmerged
...
- [RUN] test_prctl_fork
- No pages got merged
not ok 7 Merge in child failed
- [RUN] test_prctl_fork_exec
ok 8 PR_SET_MEMORY_MERGE value is inherited
...
Bail out! 2 out of 9 tests failed
- Totals: pass:7 fail:2 xfail:0 xpass:0 skip:0 error:0
Signed-off-by: Aboorva Devarajan
This patch series fixes some of the false positives in generic
mm selftests and skips tests that cannot run correctly due to
missing features or system limitations.
Please let us know if you have any feedback.
Thanks,
Aboorva
Aboorva Devarajan (2):
selftests/mm: Fix child process exit codes
elftests/mm: virtual_address_range: conform to TAP
format output")
Fixes: b2a79f62133a ("selftests/mm: virtual_address_range: unmap chunks after
validation")
Fixes: 010409649885 ("selftests/mm: confirm VA exhaustion without reliance on
correctness of mmap()")
Signed-off-b
g/selftest/powerpc/cpuidle_latency/
$ sudo ./cpuidle_latency.sh
Reviewed-by: Srikar Dronamraju
Signed-off-by: Pratik R. Sampat
Signed-off-by: Aboorva Devarajan
---
tools/testing/selftests/powerpc/Makefile | 1 +
.../powerpc/cpuidle_latency/.gitignore| 2 +
.../powerpc/cpuidl
wakeup the CPU.
Define a simple debugfs interface that allows for adjusting the
settings to trigger IPI and timer events on a designated CPU, and to
observe the resulting cpuidle wakeup latencies.
Reviewed-by: Srikar Dronamraju
Signed-off-by: Pratik R. Sampat
Signed-off-by: Aboorva Devarajan
988
# Observed Avg timeout diff(ns) - State stop5: 959137
Aboorva Devarajan (2):
powerpc/cpuidle: cpuidle wakeup latency based on IPI and timer events
powerpc/selftest: Add support for cpuidle latency measurement
arch/powerpc/Kconfig.debug| 10 +
arch/powerpc/kernel/Makef
27 matches
Mail list logo