tcp: Cache align tcp_stats
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 22 Mar 2013 04:58:53 +0000 (12:58 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 22 Mar 2013 05:00:10 +0000 (13:00 +0800)
commit12508c14c576ee8366bc169da3f26cca3a0a937c
tree9c4a1558f67a944d618833dc966a0c7814c4e4a8
parentdc5ac7ed2e5ff1a789af8ec5eebbf45c09944a08
tcp: Cache align tcp_stats

- tcp_stats is padded to multiple cache line size; add comment about it
- Cache align the per-cpu tcp_stats array
sys/netinet/tcp_subr.c
sys/netinet/tcp_var.h