classzone-VM + mapped pages out of lru_cache

From: Andrea Arcangeli (
Date: Wed May 03 2000 - 11:26:19 EST

This patch will convert the internal pg_data_t design from zone to
classzone to give correctness to the memory balancing and memory
allocation decisions. It also moves the lru_cache inside the pg_data_t for

It also splits the LRU in two parts, one for swap cache and one for the
more interesting cache and last but not the least it keeps mapped pages
without overlapped buffer headers out of the lru so that we don't waste
time in shrink_mmap trying to release mapped pages when we have to shrink
the cache.


It gives me smoother swap behaviour since the swap cache hardly pollutes
the lru_cache now.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:12 EST