git: ip: Cache align ip_stats

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Mar 25 02:59:44 PDT 2013


commit 9f8da01a7ddfa93abb698b160b503d7c28e927bc
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Mar 25 17:49:52 2013 +0800

    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

Summary of changes:
 sys/netinet/ip_input.c | 2 +-
 sys/netinet/ip_var.h   | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9f8da01a7ddfa93abb698b160b503d7c28e927bc


-- 
DragonFly BSD source repository



More information about the Commits mailing list