- Joined
- May 17, 2014
- Messages
- 3,611
I once wrote a specification for a VM memory monitoring unit, that only monitored memory page accesses. It would basically keep a sorted list of VM pages based on usage. So most recently used to least recently used, (but not monitoring locked pages). Then, when time came to evict a page, simply ask the VM monitoring unit which was least recently used and evict that one to swap. (Or, if R/O code, just re-use the page, depending on OS.)
But, that was decades ago. With the amount of memory many computers have today, my little VM memory monitoring unit might be too impractical.
But, that was decades ago. With the amount of memory many computers have today, my little VM memory monitoring unit might be too impractical.