Skip to content
Commit dd24c001 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: Use a percpu_counter for orphan_count



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: default avatarEric Dumazet <dada1@cosmosbay.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1748376b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment