Hacker News new | ask | show | jobs
by keeperofdakeys 3697 days ago
There has been some thoughts about implementing this for linux, but I don't think it got very far. The idea is that you mark a range of memory as "volatile", and the OS will free that when it's running low on memory. In most cases where you're running out of memory though, swapping out pages or killing a program using the memory is probably the right thing to do though.

https://lwn.net/Articles/522135/

1 comments

There was also this in 2009: http://lwn.net/Articles/340080/