Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755958AbYAICqN (ORCPT ); Tue, 8 Jan 2008 21:46:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752491AbYAICp6 (ORCPT ); Tue, 8 Jan 2008 21:45:58 -0500 Received: from mx1.redhat.com ([66.187.233.31]:57545 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752303AbYAICp6 (ORCPT ); Tue, 8 Jan 2008 21:45:58 -0500 Date: Tue, 8 Jan 2008 21:45:26 -0500 From: Rik van Riel To: Christoph Lameter Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Lee Schermerhorn Subject: Re: [patch 05/19] split LRU lists into anon & file sets Message-ID: <20080108214526.75a49a9c@bree.surriel.com> In-Reply-To: References: <20080108205939.323955454@redhat.com> <20080108210002.638347207@redhat.com> <20080108173634.5ed3b0d4@bree.surriel.com> Organization: Red Hat, Inc. X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.4; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 21 On Tue, 8 Jan 2008 14:42:03 -0800 (PST) Christoph Lameter wrote: > On Tue, 8 Jan 2008, Rik van Riel wrote: > > > > Also would it be possible to create generic functions that can move pages > > > in pagevecs to an arbitrary lru list? > > > > What would you use those functions for? > > We keep on duplicating the pagevec lru operation functions in mm/swap.c. > Some generic stuff would reduce the code size. Good idea. Added to my TODO list :) -- 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/