Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030700AbWKOQy7 (ORCPT ); Wed, 15 Nov 2006 11:54:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030704AbWKOQy7 (ORCPT ); Wed, 15 Nov 2006 11:54:59 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:49059 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S1030700AbWKOQy6 (ORCPT ); Wed, 15 Nov 2006 11:54:58 -0500 Date: Wed, 15 Nov 2006 08:54:44 -0800 (PST) From: Christoph Lameter To: Wu Fengguang cc: Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH 12/28] readahead: state based method - aging accounting In-Reply-To: <363577024.21908@ustc.edu.cn> Message-ID: References: <20061115075007.832957580@localhost.localdomain> <363577024.21908@ustc.edu.cn> 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: 531 Lines: 12 On Wed, 15 Nov 2006, Wu Fengguang wrote: > Collect info about the global available memory and its consumption speed. > The data are used by the stateful method to estimate the thrashing threshold. Looks like you should use a ZVC counter for total scanned. See include/linux/mmzone.h. - 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/