Searched hist:dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/net/dccp/ |
H A D | dccp.h | diff dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 Tue Nov 25 23:17:14 CST 2008 Eric Dumazet <dada1@cosmosbay.com> 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: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | proto.c | diff dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 Tue Nov 25 23:17:14 CST 2008 Eric Dumazet <dada1@cosmosbay.com> 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: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/ipv4/ |
H A D | inet_connection_sock.c | diff 6976a1d6c222c50ac93d2273b9cf57e6fd047e59 Tue Dec 02 01:37:17 CST 2008 Eric Dumazet <dada1@cosmosbay.com> net: percpu_counter_inc() should not be called in BH-disabled section
Based upon a lockdep report by Alexey Dobriyan.
I checked all per_cpu_counter_xxx() usages in network tree, and I think all call sites are BH enabled except one in inet_csk_listen_stop().
commit dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 (net: Use a percpu_counter for orphan_count) replaced atomic_t orphan_count to a percpu_counter.
atomic_inc()/atomic_dec() can be called from any context, while percpu_counter_xxx() should be called from a consistent state.
For orphan_count, this context can be the BH-enabled one.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net> diff dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 Tue Nov 25 23:17:14 CST 2008 Eric Dumazet <dada1@cosmosbay.com> 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: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | proc.c | diff dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 Tue Nov 25 23:17:14 CST 2008 Eric Dumazet <dada1@cosmosbay.com> 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: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | tcp_timer.c | diff dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 Tue Nov 25 23:17:14 CST 2008 Eric Dumazet <dada1@cosmosbay.com> 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: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | tcp.c | diff dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 Tue Nov 25 23:17:14 CST 2008 Eric Dumazet <dada1@cosmosbay.com> 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: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/include/net/ |
H A D | tcp.h | diff dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 Tue Nov 25 23:17:14 CST 2008 Eric Dumazet <dada1@cosmosbay.com> 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: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | sock.h | diff dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 Tue Nov 25 23:17:14 CST 2008 Eric Dumazet <dada1@cosmosbay.com> 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: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|