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

> You're right, though; metadata on the allocations themselves marking them as release-on-memory-pressure would be much better.

http://man7.org/linux/man-pages/man2/madvise.2.html - MADV_DONTNEED allows you to provide such meta data now.



Right, this is what I was thinking of when I said it; I was just being vague because I didn't remember the name of it :)




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

Search: