Re:But how, exactly, do databases use mmap?
by remram on Saturday January 23, 2021 @12:58PM
(#25884549)
You'd need a way to indicate when you start and end overwriting the page. You need to avoid the page being swapped out mid-overwrite and not read back in. You'd also pay a penalty for zeroing it when it gets mapped pre-overwrite. The map primitives are just not meant for this.
[ Parent
| on HN ]
There are no comments on this comment yet.