[PATCH v13 12/24] selftests/vm: introduce two arch independent abstraction