runtime: add "ret" to mmap. update comments.