Re: [patch V3] percpu_counter: scalability works

From: Tejun Heo
Date: Tue May 17 2011 - 10:03:09 EST


Hey,

On Tue, May 17, 2011 at 08:55:33AM -0500, Christoph Lameter wrote:
> Well lets just adopt the system that vm statistics use. Bound the error by
> time and batch and allow the user to change the batch if more accuracy is
> desired.

Yeah, that would be the better long term solution.

> The _sum function is optional and should it should be explained that the
> result *could* be better but dont count on it.

We can implement force-flush for dire situations, similar to expedited
RCU flush thing.

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/