Adjust the KTR code to use cache-aligned per-cpu structures.
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 27 Mar 2009 17:05:46 +0000 (10:05 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 27 Mar 2009 17:05:46 +0000 (10:05 -0700)
commitddca15823b39761cf81b8b62a694bb0b2f9b01eb
treecce47d84ddec8ab69e14094083c33b90560e8eb0
parent49802d4eaa2fd98b8b7ae43a8fe90c6a7b9076ad
Adjust the KTR code to use cache-aligned per-cpu structures.

* Create a cache-aligned per-cpu structure containing per-cpu information.

* Increase the __cachealign constants from 32 bytes to 64 bytes
  (512 bit cache line).

* Adjust ktrdump to handle both the old and new kernel structures.
sys/kern/kern_ktr.c
sys/sys/cdefs.h
sys/sys/ktr.h
usr.bin/ktrdump/ktrdump.c