[LWN Logo]


Date:    Wed, 03 May 2000 18:26:19 +0200
To:      linux-mm@kvack.org
cc:      linux-kernel@vger.rutgers.edu, quintela@fi.udc.es
From:    Andrea Arcangeli <andrea@suse.de>
Subject: classzone-VM + mapped pages out of lru_cache

X-Sender: andrea@alpha.random
X-GnuPG-Key-URL: http://e-mind.com/~andrea/aa.gnupg.asc
X-PGP-Key-URL: http://e-mind.com/~andrea/aa.asc
MIME-Version: 1.0
Sender:  owner-linux-kernel@vger.rutgers.edu
Precedence: bulk
X-Loop:  majordomo@vger.rutgers.edu

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
NUMA.

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.

 ftp://ftp.*.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.3/2.3.99-pre7-pre3/classzone-18.gz

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

Andrea


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/