Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Note that some allocators (including the standard glibc allocator) do use mmap internally for some allocation sizes. In this case the memory can be returned to the os when the whole block is freed.

Some allocators even use mmap exclusively.



I didn't realise that. Thanks for the correction!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: