linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Restructure va_high_addr_switch
@ 2024-05-22  7:04 Dev Jain
  2024-05-22  7:04 ` [PATCH 1/2] selftests/mm: va_high_addr_switch: Reduce test noise Dev Jain
  2024-05-22  7:04 ` [PATCH 2/2] selftests/mm: va_high_addr_switch: Dynamically initialize testcases to enable LPA2 testing Dev Jain
  0 siblings, 2 replies; 3+ messages in thread
From: Dev Jain @ 2024-05-22  7:04 UTC (permalink / raw)
  To: akpm, shuah
  Cc: linux-mm, linux-kselftest, linux-kernel, Anshuman.Khandual,
	kirill.shutemov, AneeshKumar.KizhakeVeetil, Dev Jain

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



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

end of thread, other threads:[~2024-05-22  7:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-22  7:04 [PATCH 0/2] Restructure va_high_addr_switch Dev Jain
2024-05-22  7:04 ` [PATCH 1/2] selftests/mm: va_high_addr_switch: Reduce test noise Dev Jain
2024-05-22  7:04 ` [PATCH 2/2] selftests/mm: va_high_addr_switch: Dynamically initialize testcases to enable LPA2 testing Dev Jain

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