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

Tejun Heo
2015-05-13T13:59:30Z

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