[PATCH v4 2/2] selftest: use mmap instead of posix_memalign to allocate memory