change mmap to syscall.Mmap inreader