Comment by pdw
4 months ago
In those days malloc would use sbrk to allocate memory. And yes, mmap was designed to memory map files. Using it to allocate anonymous pages came later.
4 months ago
In those days malloc would use sbrk to allocate memory. And yes, mmap was designed to memory map files. Using it to allocate anonymous pages came later.
Oh, I had never even heard of those syscalls before! Thanks, that makes sense.