aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorDev Jain <dev.jain@arm.com>2024-05-22 12:34:34 +0530
committerAndrew Morton <akpm@linux-foundation.org>2024-07-03 19:29:56 -0700
commit85e8bcb4190efb0b4443b637fd7a62ca2f05de6f (patch)
treed905e1891340060ac57ad02ef3049177370df3e4 /mm/memory-failure.c
parentmm/rmap: sanity check that zeropages are not passed to RMAP (diff)
downloadwireguard-linux-85e8bcb4190efb0b4443b637fd7a62ca2f05de6f.tar.xz
wireguard-linux-85e8bcb4190efb0b4443b637fd7a62ca2f05de6f.zip
selftests/mm: va_high_addr_switch: reduce test noise
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. Link: https://lkml.kernel.org/r/20240522070435.773918-1-dev.jain@arm.com Link: https://lkml.kernel.org/r/20240522070435.773918-2-dev.jain@arm.com Signed-off-by: Dev Jain <dev.jain@arm.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions