Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751253AbVLLQet (ORCPT ); Mon, 12 Dec 2005 11:34:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751255AbVLLQet (ORCPT ); Mon, 12 Dec 2005 11:34:49 -0500 Received: from omx3-ext.sgi.com ([192.48.171.20]:54190 "EHLO omx3.sgi.com") by vger.kernel.org with ESMTP id S1751253AbVLLQes (ORCPT ); Mon, 12 Dec 2005 11:34:48 -0500 Date: Mon, 12 Dec 2005 08:34:39 -0800 (PST) From: Christoph Lameter To: Marcelo Tosatti cc: Nick Piggin , Andi Kleen , linux-kernel@vger.kernel.org, Hugh Dickins , linux-mm@kvack.org Subject: Re: [RFC 3/6] Make nr_pagecache a per zone counter In-Reply-To: <20051212115731.GA3599@dmt.cnet> Message-ID: References: <20051210005440.3887.34478.sendpatchset@schroedinger.engr.sgi.com> <20051210005456.3887.94412.sendpatchset@schroedinger.engr.sgi.com> <20051211183241.GD4267@dmt.cnet> <20051211194840.GU11190@wotan.suse.de> <20051211204943.GA4375@dmt.cnet> <439CF3B1.4050803@yahoo.com.au> <20051212115731.GA3599@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: 507 Lines: 14 On Mon, 12 Dec 2005, Marcelo Tosatti wrote: > But nr_pagecache is not accessed at interrupt code, is it? It does > not need to be an atomic type. nr_pagecache is only updated when interrupts are disabled. It could be simply switched to unsigned long for UP. - 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/