Re: [PATCH v2 3/3] nf_conncount: replace CONNCOUNT_LOCK_SLOTS with CONNCOUNT_SLOTS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shawn Bohrer <sbohrer@xxxxxxxxxxxxxx> wrote:
> Most of the time these were the same value anyway, but when
> CONFIG_LOCKDEP was enabled we would use a smaller number of locks to
> reduce overhead.  Unfortunately having two values is confusing and not
> worth the complexity.

Agree.

> This fixes a bug where tree_gc_worker() would only GC up to
> CONNCOUNT_LOCK_SLOTS trees which meant when CONFIG_LOCKDEP was enabled
> not all trees would be GCed by tree_gc_worker().

Acked-by: Florian Westphal <fw@xxxxxxxxx>




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux