On Tue, 2006-09-12 at 21:29 -0400, Rik van Riel wrote: > Note that the transition _to_ volatile can also be batched > and done somewhat lazily. For frequently mmaped pages that > could end up saving us the transition the other way, too... That would be helpful, only how to do it? We need some sort of list or array where to store the pages that should be made volatile. The main problem that I see is that you have to remove a page that is freed from the list/array again, otherwise you would end up with a non page-cache page being made volatile. That makes using per-cpu arrays hard since a page can be freed on another cpu. -- blue skies, Martin. Martin Schwidefsky Linux for zSeries Development & Services IBM Deutschland Entwicklung GmbH "Reality continues to ruin my life." - Calvin.