git: ktr: Use __cachealign to align ktr_cpu

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Oct 10 23:10:22 PDT 2012


commit 022897410003183d241b499a0b6afbccce90c88d
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Oct 11 13:52:55 2012 +0800

    ktr: Use __cachealign to align ktr_cpu
    
    The version of __VM_CACHELINE_ALIGN will not properly pad struct to
    the cache line size.
    
    Reviewed-by: dillon@

Summary of changes:
 sys/kern/kern_ktr.c |    2 +-
 sys/sys/ktr.h       |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/022897410003183d241b499a0b6afbccce90c88d


-- 
DragonFly BSD source repository



More information about the Commits mailing list