4 ms·
Lots of programs malloc a lot of memory, and do nothing with it for a while. This allows the os to wait for a low load time to handle memory allocation.
by bodhiandphysics 5y ago
Lots of programs malloc a lot of memory, and do nothing with it for a while. This allows the os to wait for a low load time to handle memory allocation.
- pm215 5y agoIs there much benefit from delaying the zeroing to first-write rather than first-read (which I think is effectively where Linux does it)?
- bodhiandphysics 5y agoProbably not... but both ways are fine.
- astrange 5y agoI think the article is just incorrect and every system uses allocation on first read.