use legacy mmap