Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932078AbVLaBXL (ORCPT ); Fri, 30 Dec 2005 20:23:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932079AbVLaBXL (ORCPT ); Fri, 30 Dec 2005 20:23:11 -0500 Received: from mx1.redhat.com ([66.187.233.31]:54764 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S932078AbVLaBXJ (ORCPT ); Fri, 30 Dec 2005 20:23:09 -0500 Date: Fri, 30 Dec 2005 20:22:12 -0500 (EST) From: Rik van Riel X-X-Sender: riel@cuia.boston.redhat.com To: Marcelo Tosatti cc: Peter Zijlstra , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Christoph Lameter , Wu Fengguang , Nick Piggin , Marijn Meijles Subject: Re: [PATCH 6/9] clockpro-clockpro.patch In-Reply-To: <20051231002417.GA4913@dmt.cnet> Message-ID: References: <20051230223952.765.21096.sendpatchset@twins.localnet> <20051230224312.765.58575.sendpatchset@twins.localnet> <20051231002417.GA4913@dmt.cnet> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1284 Lines: 35 On Fri, 30 Dec 2005, Marcelo Tosatti wrote: > I think that final objective should be to abstract it away completly, > making it possible to select between different policies, allowing > further experimentation and implementations such as energy efficient > algorithms. I'm not convinced. That might just make vmscan.c harder to read ;) > About CLOCK-Pro itself, I think that a small document with a short > introduction would be very useful... http://linux-mm.org/AdvancedPageReplacement > > The HandCold rotation is driven by page reclaim needs. HandCold in turn > > drives HandHot, for every page HandCold promotes to hot HandHot needs to > > degrade one hot page to cold. > > Why do you use only two clock hands and not three (HandHot, HandCold and > HandTest) as in the original paper? Because the non-resident pages cannot be in the clock. This is both because of space overhead, and because the non-resident list cannot be per zone. I agree though, Peter's patch could use a lot more documentation. -- All Rights Reversed - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/