git: kernel - MPSAFE work - Add global tokens

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jun 8 21:41:56 PDT 2010


commit c9aa7a821dc01d4a649d667165ccf73c946aace6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jun 8 21:37:24 2010 -0700

    kernel - MPSAFE work - Add global tokens
    
    * Add global tokens for various subsystems but do not use them (yet).
      Tie in mpsafe and collision count sysctls.
    
    * Add a collision counter to the lwkt_token structure.
    
    * Simplify the lwkt_token initializer macros.
    
    * Minor namespace cleanup for sys/thread.h, place an #ifdef _KERNEL around
      the procedure prototypes.

Summary of changes:
 sys/kern/lwkt_token.c                            |   68 +++++++++++++++++++++-
 sys/platform/pc32/i386/busdma_machdep.c          |    3 +-
 sys/platform/pc64/x86_64/busdma_machdep.c        |    3 +-
 sys/platform/vkernel/platform/busdma_machdep.c   |    3 +-
 sys/platform/vkernel64/platform/busdma_machdep.c |    3 +-
 sys/sys/thread.h                                 |   34 ++++++++---
 6 files changed, 97 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c9aa7a821dc01d4a649d667165ccf73c946aace6


-- 
DragonFly BSD source repository





More information about the Commits mailing list