mmap: (still halfway) imitate origin/nl-mmap

batch examples are remainded.