ktr: Use __cachealign to align ktr_cpu
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 11 Oct 2012 05:52:55 +0000 (13:52 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 11 Oct 2012 05:52:55 +0000 (13:52 +0800)
commit022897410003183d241b499a0b6afbccce90c88d
treef623f1ec8fb06008e383eca73f76ebc22010d693
parentb3dcecfffaab0e9f80ac2d5c0f7f799390392a15
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@
sys/kern/kern_ktr.c
sys/sys/ktr.h