2 ms·
If loading == mmap(2)ing read-only, then it's not a problem. Read-only pages don't get CoW'ed.
by cryptonector 4y ago
If loading == mmap(2)ing read-only, then it's not a problem. Read-only pages don't get CoW'ed.
- btilly 4y agoBack when I did this, loading usually meant querying a bunch of constant data in mod_perl.
- cryptonector 4y agoSo write the query results to files and then mmap() them!
- btilly 4y agoYou'd be amazed at how difficult it is to make useful use of mmap() from within a variety of common scripting languages.