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

git: kernel - MPSAFE work - Add global tokens


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 8 Jun 2010 21:41:07 -0700 (PDT)

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



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