git: tcp: Cache align tcp_stats

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Mar 21 21:55:48 PDT 2013


commit 12508c14c576ee8366bc169da3f26cca3a0a937c
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Mar 22 12:58:53 2013 +0800

    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

Summary of changes:
 sys/netinet/tcp_subr.c | 2 +-
 sys/netinet/tcp_var.h  | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/12508c14c576ee8366bc169da3f26cca3a0a937c


-- 
DragonFly BSD source repository



More information about the Commits mailing list