Comment by pdw
16 days 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.
16 days 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.