Re: [patch V3] percpu_counter: scalability works

From: Christoph Lameter
Date: Tue May 17 2011 - 10:38:10 EST


On Tue, 17 May 2011, Tejun Heo wrote:

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

I would suggest that if the user wants accurate results then another
external form of synchronization needs to be provided. Maybe the counter
is always incremented when another lock has been taken.

--
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/