git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73417f6
)
[TCP]: tcp_memory_pressure and tcp_socket are__read_mostly candidates
author
Eric Dumazet
<dada1@cosmosbay.com>
Tue, 27 Mar 2007 20:58:31 +0000
(13:58 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:19 +0000
(22:28 -0700)
tcp_memory_pressure and tcp_socket currently share a cache line with tcp_memory_allocated, tcp_sockets_allocated.
(Very hot cache line)
It makes sense to declare these variables as __read_mostly, to avoid false sharing on SMP.
ffffffff8081d9c0
B tcp_orphan_count
ffffffff8081d9c4
B tcp_memory_allocated
ffffffff8081d9c8
B tcp_sockets_allocated
ffffffff8081d9cc
B tcp_memory_pressure
ffffffff8081d9d0
b tcp_md5sig_users
ffffffff8081d9d8
b tcp_md5sig_pool
ffffffff8081d9e0
b warntime.31570
ffffffff8081d9e8
b tcp_socket
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found