2 ms·
In that case, why not request freshly zeroed pages from the operating system?
by gpvos 7y ago
In that case, why not request freshly zeroed pages from the operating system?
- marcoperaza 7y agoBecause if you're needing to repeatedly free giant amounts of RAM, the OS probably doesn't have many zeroed pages and will need to zero them itself. Linux, at least, does not idle-zero, so if you want to take advantage of otherwise idle CPU time to do the zeroing, then you need to take matters into your own hands.