Home
last modified time | relevance | path

Searched hist:dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1 (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/net/dccp/
H A Ddccp.hdiff 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 Dproto.cdiff 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 Dinet_connection_sock.cdiff 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 Dproc.cdiff 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 Dtcp_timer.cdiff 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 Dtcp.cdiff 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 Dtcp.hdiff 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 Dsock.hdiff 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>