3 ms·
Right. When you memory-map a file, what you've essentially done is add a temporary new pagefile to the system (your mapped file), and when you work with memory
by quotemstr 8y ago
Right. When you memory-map a file, what you've essentially done is add a temporary new pagefile to the system (your mapped file), and when you work with memory backed by that file, it's no different from working with "anonymous" memory backed by the system-wide pagefile.
- nothrabannosir 8y agoAside: I have to say this is a genius perspective on mmap, and I now finally understand why the same syscall is used for both. I never understood the link. Thank you.