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

You said: "In other words, it's just wouldn't be practically possible to create an application that uses standard memory allocation functions and reliably can free some memory back to the kernel."

So I thought you'd be interested to know that you can do just this with the standard functions mmap() and madvise().

No, it's not a replacement for malloc/free, but it does have value to some applications for some use cases.



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

Search: