Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751446AbWACTJY (ORCPT ); Tue, 3 Jan 2006 14:09:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751445AbWACTJY (ORCPT ); Tue, 3 Jan 2006 14:09:24 -0500 Received: from omx3-ext.sgi.com ([192.48.171.25]:29371 "EHLO omx3.sgi.com") by vger.kernel.org with ESMTP id S1751406AbWACTJY (ORCPT ); Tue, 3 Jan 2006 14:09:24 -0500 Date: Tue, 3 Jan 2006 11:08:14 -0800 (PST) From: Christoph Lameter To: Nick Piggin cc: Marcelo Tosatti , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andi Kleen Subject: Re: [RFC] Event counters [1/3]: Basic counter functionality In-Reply-To: <43B63931.6000307@yahoo.com.au> Message-ID: References: <20051220235733.30925.55642.sendpatchset@schroedinger.engr.sgi.com> <20051231064615.GB11069@dmt.cnet> <43B63931.6000307@yahoo.com.au> 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: 1093 Lines: 23 On Sat, 31 Dec 2005, Nick Piggin wrote: > So I'm not exactly sure why such a patch as this is wanted now? Are there > any more xxx_page_state hotspots? (I admit to only looking at page faults, > page allocator, and page reclaim). The proposed patchset is based on the zoned counter patchset. This means that critical counters have been converted to use different macros. The following discussion of Marcelo and Nick on nr_mapped etc is not relevant to this patch since nr_mapped etc are not event counters but are handled by the zoned counters. The event counters are the leftover vanity counters that are referenced only for display in /proc and the proposed approach is to only allow increments and allow racy updates. Then these lightweight counters are also used to optimize away the numa specific counters in the per cpu structures. - 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/