Re: [patch v2 0/5] percpu_counter: bug fix and enhancement

From: Eric Dumazet
Date: Thu May 12 2011 - 05:03:43 EST


Le jeudi 12 mai 2011 Ã 11:02 +0200, Eric Dumazet a Ãcrit :
> Le jeudi 12 mai 2011 Ã 10:59 +0200, Tejun Heo a Ãcrit :
> > Hello,
> >
> > On Thu, May 12, 2011 at 04:55:20PM +0800, Shaohua Li wrote:
> > > sure, but it's quite difficult to determine a @maxfuzzy in his proposal
> > > I thought (and could confuse user), did I miss anything?
> >
> > I don't think @maxfuzzy is necessary there. I wrote this before but
> > why can't we track the actual deviation instead of the number of
> > deviation events?
> >
>
> Thats roughly same thing (BATCH multiplicator factor apart)
>
> Most percpu_counter users for a given percpu_counter object use a given
> BATCH, dont they ?
>
>


I guess nr_cpu_ids would be a nice @maxfuzzy default value...



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