News for hackers. Stuff that matters.
Re:Use mmap with care by nneonneo on Thursday May 02, 2019 @06:22AM (#19806358)
Well, then you have to implement some kind of plan for efficient caching - some kind of LRU scheme, for example, to prevent the cache from ballooning to unusable sizes - at which point you're reinventing the kernel page cache (poorly). mmap does have a big advantage here if you really need a lot of random accesses.

There are no comments on this comment yet.