cvs commit: src/sys/i386/i386 machdep.c trap.c src/sys/i386/isa intr_machdep.c src/sys/kern imgact_aout.c imgact_elf.c init_main.c kern_fork.c kern_proc.c kern_switch.c kern_synch.c lwkt_msgport.c lwkt_thread.c src/sys/sys param.h proc.h sysent.h thread.h ...
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Jul 24 13:21:40 PDT 2004
dillon 2004/07/24 13:21:35 PDT
DragonFly src repository
Modified files:
sys/i386/i386 machdep.c trap.c
sys/i386/isa intr_machdep.c
sys/kern imgact_aout.c imgact_elf.c init_main.c
kern_fork.c kern_proc.c kern_switch.c
kern_synch.c lwkt_msgport.c lwkt_thread.c
sys/sys param.h proc.h sysent.h thread.h
sys/vm vm_glue.c
Log:
Update the userland scheduler. Fix scheduler interactions which were
previously resulting in the wrong process sometimes getting a full 1/10
second slice, which under heavy load resulted in serious glitching.
Introduce a new dynamic 'p_interactive' heuristic and allow it to effect
priority +/- by a few nice levels.
With this patch batch operations such as buildworlds, setiathome should not
interfere with X / interactive operations as much as they did before.
Note that we are talking about the the userland scheduler here, not the
LWKT scheduler. Also note that the userland scheduler needs a complete
rewrite.
Revision Changes Path
1.62 +0 -1 src/sys/i386/i386/machdep.c
1.54 +102 -51 src/sys/i386/i386/trap.c
1.23 +1 -1 src/sys/i386/isa/intr_machdep.c
1.9 +1 -1 src/sys/kern/imgact_aout.c
1.21 +1 -1 src/sys/kern/imgact_elf.c
1.35 +3 -2 src/sys/kern/init_main.c
1.28 +8 -6 src/sys/kern/kern_fork.c
1.16 +3 -6 src/sys/kern/kern_proc.c
1.22 +122 -248 src/sys/kern/kern_switch.c
1.34 +74 -27 src/sys/kern/kern_synch.c
1.29 +4 -2 src/sys/kern/lwkt_msgport.c
1.66 +59 -12 src/sys/kern/lwkt_thread.c
1.15 +1 -0 src/sys/sys/param.h
1.53 +4 -4 src/sys/sys/proc.h
1.8 +1 -1 src/sys/sys/sysent.h
1.56 +2 -0 src/sys/sys/thread.h
1.25 +5 -1 src/sys/vm/vm_glue.c
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/machdep.c.diff?r1=1.61&r2=1.62&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/trap.c.diff?r1=1.53&r2=1.54&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/intr_machdep.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_aout.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_elf.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/init_main.c.diff?r1=1.34&r2=1.35&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_proc.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_switch.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_synch.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_msgport.c.diff?r1=1.28&r2=1.29&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_thread.c.diff?r1=1.65&r2=1.66&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/param.h.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.52&r2=1.53&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/sysent.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread.h.diff?r1=1.55&r2=1.56&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_glue.c.diff?r1=1.24&r2=1.25&f=u
More information about the Commits
mailing list