Re: [RFC] Event counters [1/3]: Basic counter functionality

Marcelo Tosatti
2006-01-03T12:06:52Z

On Wed, Jan 04, 2006 at 12:21:55AM +1100, Nick Piggin wrote:
> Marcelo Tosatti wrote:
> >On Tue, Jan 03, 2006 at 04:11:46PM +1100, Nick Piggin wrote:
> >
>
> >>I guess I was hoping to try to keep it simple, and just have two
> >>variants, the __ version would require the caller to do the locking.
> >
> >
> >I see - one point is that the two/three underscore versions make
> >it clear that preempt is required, though, but it might be a bit
> >over-complicated as you say.
> >
> >Well, its up to you - please rearrange the patch as you wish and merge
> >up?
> >
>
> OK I will push it upstream - thanks!
>
> We can revisit details again when some smoke clears from the
> coming 2.6.16 merge cycle?

Sure - we can also go further and the optimize operations on the
remaining counters.