3 ms·
Can you link to the man page you are reading, because this is not in the Debian page for mmap(2), which includes munmap. Additionally, the statement you quote
by rescrv 13y ago
Can you link to the man page you are reading, because this is not in the Debian page for mmap(2), which includes munmap.
Additionally, the statement you quote explicitly relates to private mappings. LevelDB uses shared mappings.
- deleted 13y ago[deleted]
- rescrv 13y agoIt uses shared writable mappings to reflect writes in the file on disk, and the core purpose of msync is to synchronize the file with the memory map. Your random quotes from man pages are out of context (and keep changing as you edit your posts).
- deleted 13y ago[deleted]
- nl 13y agoMan, it's annoying when someone deletes comments, especially right through a thread!