thread stage 6: Move thread stack management from the proc structure to
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 19 Jun 2003 06:26:10 +0000 (06:26 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 19 Jun 2003 06:26:10 +0000 (06:26 +0000)
commit7e1d4bf40266bd723c7dd14a7a50924d58e5899a
treece63f50d6f15c73f8c8563f9fe9c769b0f2148ff
parent3020e3be3756cae1943fa7319645e49add96f8f7
thread stage 6:  Move thread stack management from the proc structure to
the thread structure, cleanup the pmap_new_*() and pmap_dispose_*()
functions, and disable UPAGES swapping (if we eventually separate the kstack
from the UPAGES we can reenable it).  Also LIFO/4 cache thread structures
which improves fork() performance by 40% (when used in typical fork/exec/exit
or fork/subshell/exit situations).
14 files changed:
sys/i386/i386/machdep.c
sys/i386/i386/mp_machdep.c
sys/i386/i386/pmap.c
sys/i386/i386/vm_machdep.c
sys/i386/include/globaldata.h
sys/platform/pc32/i386/machdep.c
sys/platform/pc32/i386/mp_machdep.c
sys/platform/pc32/i386/pmap.c
sys/platform/pc32/i386/vm_machdep.c
sys/platform/pc32/include/globaldata.h
sys/sys/proc.h
sys/sys/thread.h
sys/vm/pmap.h
sys/vm/vm_glue.c