Skip to contentSkip to conversation

selftests-mm-va_high_addr_switch-reduce-test-noise.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jun 25, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: selftests/mm: va_high_addr_switch: reduce test noise
has been removed from the -mm tree. Its filename was
selftests-mm-va_high_addr_switch-reduce-test-noise.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Dev Jain <[email protected]>
Subject: selftests/mm: va_high_addr_switch: reduce test noise
Date: Wed, 22 May 2024 12:34:34 +0530

Patch series "Restructure va_high_addr_switch".

The va_high_addr_switch memory selftest tests out some corner cases related to allocation and page/hugepage faulting around the switch boundary. Currently, the page size and hugepage size have been statically defined. Post FEAT_LPA2, the Aarch64 Linux kernel adds support for 4k and 16k translation granules on higher addresses; we restructure the test to support the same. In addition, we avoid invocation of the binary twice, in the shell script, to reduce test noise.

This patch (of 2):

When invoking the binary with "--run-hugetlb" flag, the testcases involving the base page are anyways going to be run. Therefore, remove duplication by invoking the binary only once.

---

 tools/testing/selftests/mm/va_high_addr_switch.sh |    4 ----
 1 file changed, 4 deletions(-)
tools/testing/selftests/mm/va_high_addr_switch.sh renamed from tools/testing/selftests/mm/va_high_addr_switch.sh~selftests-mm-va_high_addr_switch-reduce-test-noise +0 -4
@@ -57,8 +57,4 @@ check_test_requirements()
 }
 
 check_test_requirements
-./va_high_addr_switch
-
-# In order to run hugetlb testcases, "--run-hugetlb" must be appended
-# to the binary.
 ./va_high_addr_switch --run-hugetlb

_

Patches currently in -mm which might be from [email protected] are