2 ms·
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", an
by keeperofdakeys 10y 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/ https://lwn.net/Articles/522135/
- Kristine1975 10y agoThere was also this in 2009: http://lwn.net/Articles/340080/ http://lwn.net/Articles/340080/