3 ms·
I don't really understand the point of all this (on Linux). Just mmap(2) a virtual address range as large as you think you will ever need and let demand paging
by senderista 2y ago
I don't really understand the point of all this (on Linux). Just mmap(2) a virtual address range as large as you think you will ever need and let demand paging do the rest. No need to explicitly reallocate anything.
- remram 2y agoThis means every buffer uses 4k (page size) minimum of RAM. Sounds very wasteful.
- senderista 2y agoI mean, it depends...