Collapse gd_astpending and gd_reqpri together into gd_reqflags. gd_reqflags
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 12 Jul 2003 17:54:36 +0000 (17:54 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 12 Jul 2003 17:54:36 +0000 (17:54 +0000)
commit235957ed15c1de5ba4c948d7e0e816e6cb754926
treeae2cd0a3a8a06961428a2e48d865502bb5f07ce9
parent545a1cd3c71c33fc5be984616cc2b42f5ff61903
Collapse gd_astpending and gd_reqpri together into gd_reqflags.  gd_reqflags
now rollsup requests made pending for doreti.  Cleanup a number of scheduling
primitives and note that we do not need to use locked bus cycles on per-cpu
variables.

Note that the aweful idelayed hack for certain softints (used only by the TTY
subsystem, BTW) gets slightly broken in this commit because idelayed has become
per-cpu and the clock ints aren't yet distributed.
37 files changed:
sys/cpu/i386/include/cpu.h
sys/ddb/db_ps.c
sys/i386/apic/apic_vector.s
sys/i386/i386/exception.s
sys/i386/i386/genassym.c
sys/i386/i386/globals.s
sys/i386/i386/trap.c
sys/i386/icu/icu_vector.s
sys/i386/include/cpu.h
sys/i386/include/globaldata.h
sys/i386/include/ipl.h
sys/i386/isa/apic_vector.s
sys/i386/isa/icu_vector.s
sys/i386/isa/intr_machdep.c
sys/i386/isa/ipl.s
sys/i386/isa/ipl_funcs.c
sys/kern/kern_sig.c
sys/kern/lwkt_thread.c
sys/kern/subr_prof.c
sys/platform/pc32/apic/apic_vector.s
sys/platform/pc32/i386/exception.s
sys/platform/pc32/i386/genassym.c
sys/platform/pc32/i386/globals.s
sys/platform/pc32/i386/trap.c
sys/platform/pc32/icu/icu_vector.s
sys/platform/pc32/include/globaldata.h
sys/platform/pc32/include/ipl.h
sys/platform/pc32/isa/apic_vector.s
sys/platform/pc32/isa/icu_vector.s
sys/platform/pc32/isa/intr_machdep.c
sys/platform/pc32/isa/ipl.s
sys/platform/pc32/isa/ipl_funcs.c
sys/platform/vkernel/i386/genassym.c
sys/sys/globaldata.h
sys/sys/proc.h
sys/sys/thread.h
sys/sys/thread2.h