[PATCH v2] selftests/mm: use global variable to not optimize mmap read variable