LWN.net Logo

vm: page-replace and clockpro

From:  Peter Zijlstra <a.p.zijlstra@chello.nl>
To:  linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject:  [PATCH] vm: page-replace and clockpro
Date:  Fri, 30 Dec 2005 23:40:14 +0100
Cc:  Andrew Morton <akpm@osdl.org>, Peter Zijlstra <a.p.zijlstra@chello.nl>, Christoph Lameter <christoph@lameter.com>, Wu Fengguang <wfg@mail.ustc.edu.cn>, Nick Piggin <npiggin@suse.de>, Marijn Meijles <marijn@bitpit.net>, Rik van Riel <riel@redhat.com>, Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Archive-link:  Article, Thread

Hi All,

These two patch sets implement a new page replacement algorithm based on
CLOCK-Pro.

The first patch set: page-replace-*, abstracts the current page replace code
and moves it to its own file: mm/page_replace.c.

The second patch set: clockpro-*, then implements a new replace algorithm by
reimplementing the hooks introduced in the previous set.


Andrew, Nick, the kswapd-incmin patch is there again ;-)
I know there is still some disagreement on this patch, however without
it reclaim truely sucks rock with this code.
What happens is that zone_dma is severly overscanned and the clockpro
implementation cannot handle this nicely.


PeterZ

Copyright © 2006, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds