Misc interrupts/LWKT 1/2: threaded interrupts 2: Major work on the
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Jun 2003 19:50:32 +0000 (19:50 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Jun 2003 19:50:32 +0000 (19:50 +0000)
commit26a0694ba4ad6b2eea86882e4436d151c7eab4cd
treef791220c52c22a296d7ee53ed5727be3a577cc43
parent4b5f931b8d939e30650d43b16ca2a573d58c19e9
Misc interrupts/LWKT 1/2: threaded interrupts 2: Major work on the
user scheduler, separate it completely from the LWKT scheduler and make
user priorities, including idprio, normal, and rtprio, work properly.
This includes fixing the priority inversion problem that 4.x had.
Also complete the work on interrupt preemption.  There were a few things
I wasn't doing correctly including not protecting the initial call
to cpu_heavy_restore when a process is just starting up.  Enhance DDB a
bit (threads don't show up in PS yet).

This is a major milestone.
39 files changed:
sys/ddb/db_ps.c
sys/i386/i386/exception.s
sys/i386/i386/machdep.c
sys/i386/i386/swtch.s
sys/i386/i386/trap.c
sys/i386/i386/vm_machdep.c
sys/i386/icu/icu_vector.s
sys/i386/isa/icu_vector.s
sys/i386/isa/intr_machdep.c
sys/i386/isa/ipl.s
sys/kern/init_main.c
sys/kern/kern_exit.c
sys/kern/kern_fork.c
sys/kern/kern_intr.c
sys/kern/kern_kthread.c
sys/kern/kern_resource.c
sys/kern/kern_sig.c
sys/kern/kern_subr.c
sys/kern/kern_switch.c
sys/kern/kern_synch.c
sys/kern/kern_sysctl.c
sys/kern/kern_threads.c
sys/kern/lwkt_thread.c
sys/platform/pc32/i386/exception.s
sys/platform/pc32/i386/machdep.c
sys/platform/pc32/i386/swtch.s
sys/platform/pc32/i386/trap.c
sys/platform/pc32/i386/vm_machdep.c
sys/platform/pc32/icu/icu_vector.s
sys/platform/pc32/isa/icu_vector.s
sys/platform/pc32/isa/intr_machdep.c
sys/platform/pc32/isa/ipl.s
sys/sys/globaldata.h
sys/sys/proc.h
sys/sys/thread.h
sys/sys/thread2.h
sys/vfs/specfs/spec_vnops.c
sys/vm/vm_glue.c
sys/vm/vm_meter.c