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

I understand why the use of sbrk is unfortunate but what's wrong with the representation? Are there better ones?


The heap growing towards the stack is a property of the heap segment (used by brk/sbrk). mmap is not bound to this model, and unless used with MAP_FIXED can associate the allocation with virtual addresses anywhere in the address space.




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

Search: