From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 5 Apr 2007 15:37:46 -0700 From: Andrew Morton Subject: Re: [PATCH 02/12] mm: scalable bdi statistics counters. Message-Id: <20070405153746.3cdb9bcd.akpm@linux-foundation.org> In-Reply-To: <20070405174317.854739299@programming.kicks-ass.net> References: <20070405174209.498059336@programming.kicks-ass.net> <20070405174317.854739299@programming.kicks-ass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: root@programming.kicks-ass.net Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, miklos@szeredi.hu, neilb@suse.de, dgc@sgi.com, tomoki.sekiyama.qu@hitachi.com, a.p.zijlstra@chello.nl, nikita@clusterfs.com List-ID: On Thu, 05 Apr 2007 19:42:11 +0200 root@programming.kicks-ass.net wrote: > Provide scalable per backing_dev_info statistics counters modeled on the ZVC > code. > > Signed-off-by: Peter Zijlstra > --- > block/ll_rw_blk.c | 1 > drivers/block/rd.c | 2 > drivers/char/mem.c | 2 > fs/char_dev.c | 1 > fs/fuse/inode.c | 1 > fs/nfs/client.c | 1 > include/linux/backing-dev.h | 98 +++++++++++++++++++++++++++++++++++++++++ > mm/backing-dev.c | 103 ++++++++++++++++++++++++++++++++++++++++++++ madness! Quite duplicative of vmstat.h, yet all this infrastructure is still only usable in one specific application. Can we please look at generalising the vmstat.h stuff? Or, the API in percpu_counter.h appears suitable to this application. (The comment at line 6 is a total lie). -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org