6 ms·
> 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
by jbert 12y ago
> 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 http://man7.org/linux/man-pages/man2/madvise.2.html - MADV_DONTNEED allows you to provide such meta data now.
- derefr 12y agoRight, 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 :)