net: Use a percpu_counter for orphan_count
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 26 Nov 2008 05:17:14 +0000 (21:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 05:17:14 +0000 (21:17 -0800)
Instead of using one atomic_t per protocol, use a percpu_counter
for "orphan_count", to reduce cache line contention on
heavy duty network servers.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found