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

From: Tejun Heo
Date: Wed May 13 2015 - 09:59:27 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/