Hi all, As I promised - here is my improved LRU shrink_mmap against pre8. Tested: - Can compile a kernel with 'make -j 2'. Features: - kswapd, works a little all the time. Thus avoiding situation where all pages are referenced at the same time (ageing). - kswapd, always ages lru_list before running shrink_mmap. - shrink_mmap, tries to free more than one page each turn. - do_try_to_free_pages, uses that to avoid recalls => shrink_mmap is called once per priority level. - shrink_mmap, does its work with as a fast page finder. Bugs: - Does not handle mmap002 correctly. Needs: - Additions of other current patches that improves that situation - I tried to keep this clean. - Tuning... - More testing - there is a day tomorrow too... -- Home page: http://www.norran.net/nra02596/