kernel - MPSAFE work - Add global tokens
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 9 Jun 2010 04:37:24 +0000 (21:37 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 9 Jun 2010 04:37:24 +0000 (21:37 -0700)
commitc9aa7a821dc01d4a649d667165ccf73c946aace6
tree7ed4c69ff6f06bfd401d38ab3162b543e6e8622d
parent0ba926191f56cd6bd98c98471cb012339cae9814
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.
sys/kern/lwkt_token.c
sys/platform/pc32/i386/busdma_machdep.c
sys/platform/pc64/x86_64/busdma_machdep.c
sys/platform/vkernel/platform/busdma_machdep.c
sys/platform/vkernel64/platform/busdma_machdep.c
sys/sys/thread.h