DragonFly-2.3.0.514.gddca1 master sys/kern kern_ktr.c sys/sys cdefs.h ktr.h usr.bin/ktrdump ktrdump.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Mar 27 10:10:13 PDT 2009
commit ddca15823b39761cf81b8b62a694bb0b2f9b01eb
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Mar 27 10:05:46 2009 -0700
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.
Summary of changes:
sys/kern/kern_ktr.c | 37 +++++++++++------
sys/sys/cdefs.h | 4 +-
sys/sys/ktr.h | 27 ++++++++++--
usr.bin/ktrdump/ktrdump.c | 101 ++++++++++++++++++++++++++++++--------------
4 files changed, 118 insertions(+), 51 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ddca15823b39761cf81b8b62a694bb0b2f9b01eb
--
DragonFly BSD source repository
More information about the Commits
mailing list