mmap: follow the nl-mmap branch