DragonFly commits List (threaded) for 2009-03
DragonFly BSD
DragonFly commits List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.0.514.gddca1 master sys/kern kern_ktr.c sys/sys cdefs.h ktr.h usr.bin/ktrdump ktrdump.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Mar 2009 10:08:54 -0700 (PDT)

commit ddca15823b39761cf81b8b62a694bb0b2f9b01eb
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]