Re: VM callbacks and VM design
From: John Fremlin <hidden>
Date: 2000-06-11 22:16:53
Neil Schemenauer [off-list ref] writes: [...]
In order to decide which pages are good candidates for freeing the temporal locality heuristic should be used (ie. pages needed
Why?
recently will also be needed in the near future). Note that this is different that "most often used". I think Rik's latest aging patch is slightly wrong in this regard.
If you're greping through a large file you don't want to swap out your processes. Also, you might like to look at the ideas behind generational garbage collection; i.e. most objects are used briefly then forgotten about forever, but those which are still being used after a while will probably keep on being used. [...] -- http://altern.org/vii -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/