[PATCH 0/2] Restructure va_high_addr_switch

Dev Jain posted 2 patches 1 year, 8 months ago
.../selftests/mm/va_high_addr_switch.c        | 454 +++++++++---------
.../selftests/mm/va_high_addr_switch.sh       |   4 -
2 files changed, 232 insertions(+), 226 deletions(-)
[PATCH 0/2] Restructure va_high_addr_switch
Posted by Dev Jain 1 year, 8 months ago
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.

Dev Jain (2):
  selftests/mm: va_high_addr_switch: Reduce test noise
  selftests/mm: va_high_addr_switch: Dynamically initialize testcases to
    enable LPA2 testing

 .../selftests/mm/va_high_addr_switch.c        | 454 +++++++++---------
 .../selftests/mm/va_high_addr_switch.sh       |   4 -
 2 files changed, 232 insertions(+), 226 deletions(-)

-- 
2.34.1