Use a globaldata_t instead of a cpuid in the lwkt_token structure. The
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 10 Feb 2004 07:34:43 +0000 (07:34 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 10 Feb 2004 07:34:43 +0000 (07:34 +0000)
commitfb7518e554b2d765fd754b5d0e50f404bd437a7d
tree5e7e64f6467623d25ca6ba8b9277344614269750
parentda004c976c7b8fdc61578980b336988ad2832f4b
Use a globaldata_t instead of a cpuid in the lwkt_token structure.  The
LWKT subsystem already uses globaldata_t instead of cpuid for its thread
td_gd reference, and the IPI messaging code will soon be converted to take
a globaldata_t instead of a cpuid as well.  This reduces the number of
memory indirections we have to make to access the per-cpu globaldata space
in various procedures.
sys/kern/lwkt_token.c
sys/kern/vfs_subr.c
sys/sys/thread.h
sys/sys/thread2.h