Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 25 Feb 2003 04:00:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 25 Feb 2003 04:00:40 -0500 Received: from e1.ny.us.ibm.com ([32.97.182.101]:61057 "EHLO e1.ny.us.ibm.com") by vger.kernel.org with ESMTP id ; Tue, 25 Feb 2003 04:00:39 -0500 Date: Tue, 25 Feb 2003 14:59:45 +0530 From: Ravikiran G Thirumalai To: Andrew Morton Cc: linux-kernel@vger.kernel.org, ricklind@us.ibm.com Subject: Re: [patch] Make diskstats per-cpu using kmalloc_percpu Message-ID: <20030225092945.GC28052@in.ibm.com> References: <20030225073654.GB28052@in.ibm.com> <20030224235610.67e38b34.akpm@digeo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030224235610.67e38b34.akpm@digeo.com> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 852 Lines: 24 On Mon, Feb 24, 2003 at 11:56:10PM -0800, Andrew Morton wrote: > Ravikiran G Thirumalai wrote: > > > > This version makes the disk stats on struct gendisk per-cpu. > > Well OK, but it has lots of SCARY UPPER-CASE MACROS and disk_stat_inc(), > disk_stat_dec() and disk_stat_sub() can all be defined in terms of > disk_stat_add(). > > I did this to it: > Ok, I don't have a preference one way or the other. I used upper case since mib stats used upper case macros (it was that way before I twiddled with it). I'll use lower case macros for the per partition stats too. Thanks, Kiran - 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/