thread stage 7: Implement basic LWKTs, use a straight round-robin model for
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 20 Jun 2003 02:09:59 +0000 (02:09 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 20 Jun 2003 02:09:59 +0000 (02:09 +0000)
commit8ad65e0803427ec97e56c2df25dc31460e526df5
tree3910d03976df25bd5158161ae5930da8155660a8
parent7e1d4bf40266bd723c7dd14a7a50924d58e5899a
thread stage 7: Implement basic LWKTs, use a straight round-robin model for
the moment.  Also continue consolidating the globaldata structure so both UP
and SMP use it with more commonality.  Temporarily match user processes up
with scheduled LWKTs on a 1:1 basis.  Eventually user processes will have
LWKTs, but they will not all be scheduled 1:1 with the user process's
runnability.

With this commit work can potentially start to fan out, but I'm not ready
to announce yet.
38 files changed:
sys/conf/files
sys/cpu/i386/include/asmacros.h
sys/cpu/i386/include/cpu.h
sys/i386/i386/exception.s
sys/i386/i386/genassym.c
sys/i386/i386/globals.s
sys/i386/i386/machdep.c
sys/i386/i386/mp_machdep.c
sys/i386/i386/pmap.c
sys/i386/i386/swtch.s
sys/i386/i386/vm_machdep.c
sys/i386/include/asmacros.h
sys/i386/include/asnames.h
sys/i386/include/cpu.h
sys/i386/include/globaldata.h
sys/i386/include/globals.h
sys/i386/include/md_var.h
sys/kern/init_main.c
sys/kern/kern_exit.c
sys/kern/kern_switch.c
sys/kern/kern_synch.c
sys/kern/lwkt_thread.c [new file with mode: 0644]
sys/platform/pc32/i386/exception.s
sys/platform/pc32/i386/genassym.c
sys/platform/pc32/i386/globals.s
sys/platform/pc32/i386/machdep.c
sys/platform/pc32/i386/mp_machdep.c
sys/platform/pc32/i386/pmap.c
sys/platform/pc32/i386/swtch.s
sys/platform/pc32/i386/vm_machdep.c
sys/platform/pc32/include/asnames.h
sys/platform/pc32/include/globaldata.h
sys/platform/pc32/include/globals.h
sys/platform/pc32/include/md_var.h
sys/platform/vkernel/i386/genassym.c
sys/sys/proc.h
sys/sys/systm.h
sys/sys/thread.h