4 ms·
more like memory mis-reporting, since when you mmap a file in, IIRC that counts against page cache rather than memory usage (you can evict the page without caus
by hnav 4y ago
more like memory mis-reporting, since when you mmap a file in, IIRC that counts against page cache rather than memory usage (you can evict the page without causing write IO so the memory isn't "used")
- astrange 4y agoIt being safe to evict is why it's correct to not report it as "memory usage". It's part of the program's working set but measuring that is a completely different story.