ip: Cache align ip_stats
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 25 Mar 2013 09:49:52 +0000 (17:49 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 25 Mar 2013 09:49:52 +0000 (17:49 +0800)
commit9f8da01a7ddfa93abb698b160b503d7c28e927bc
treedbbdb2baf331cd5c3743f773652b10464d4b0556
parent60779d5f0ef193c344ad0eb831f9c3e5b1e15b22
ip: Cache align ip_stats

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