Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934493AbbEMN7X (ORCPT ); Wed, 13 May 2015 09:59:23 -0400 Received: from mail-qk0-f181.google.com ([209.85.220.181]:34935 "EHLO mail-qk0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934350AbbEMN7W (ORCPT ); Wed, 13 May 2015 09:59:22 -0400 Date: Wed, 13 May 2015 09:59:19 -0400 From: Tejun Heo To: Dave Chinner Cc: xfs@oss.sgi.com, linux-kernel@vger.kernel.org, peterz@infradead.org Subject: Re: [PATCH 1/2] percpu_counter: batch size aware __percpu_counter_compare() Message-ID: <20150513135919.GS11388@htj.duckdns.org> References: <1431474754-15764-1-git-send-email-david@fromorbit.com> <1431474754-15764-2-git-send-email-david@fromorbit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431474754-15764-2-git-send-email-david@fromorbit.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: 675 Lines: 24 Hello, Dave. On Wed, May 13, 2015 at 09:52:33AM +1000, Dave Chinner wrote: > @@ -116,6 +121,12 @@ static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) > return 0; > } > > +static inline int > +percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) > +{ > + return percpu_counter_compare(fbc, rhs); > +} I don't think this is right. Looks fine to me otherwise. 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/