[PATCH 1/2] percpu_counter: batch size aware __percpu_counter_compare()

Tejun Heo tj at kernel.org
Wed May 13 08:59:19 CDT 2015


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



More information about the xfs mailing list