Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932169AbbGPOgo (ORCPT ); Thu, 16 Jul 2015 10:36:44 -0400 Received: from mail-yk0-f179.google.com ([209.85.160.179]:33213 "EHLO mail-yk0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752579AbbGPOgm (ORCPT ); Thu, 16 Jul 2015 10:36:42 -0400 Date: Thu, 16 Jul 2015 10:36:40 -0400 From: Tejun Heo To: Ming Lei Cc: Jens Axboe , linux-kernel@vger.kernel.org, Mike Snitzer Subject: Re: [PATCH 2/4] block: partition: convert percpu ref Message-ID: <20150716143640.GT15934@mtj.duckdns.org> References: <1437016607-375-1-git-send-email-tom.leiming@gmail.com> <1437016607-375-3-git-send-email-tom.leiming@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1437016607-375-3-git-send-email-tom.leiming@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 647 Lines: 20 On Thu, Jul 16, 2015 at 11:16:45AM +0800, Ming Lei wrote: > Percpu refcount is the perfect match for partition's case, > and the conversion is quite straight. > > With the convertion, one pair of atomic inc/dec can be saved > for accounting block I/O, which is run in hot path of block I/O. > > Signed-off-by: Ming Lei Acked-by: Tejun Heo Thanks. -- tejun -- 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/