cvs commit: src/sys/sys proc.h src/sys/kern kern_exit.c kern_fork.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Mar 20 15:35:57 PST 2004
dillon 2004/03/20 15:35:18 PST
DragonFly src repository
Modified files:
sys/sys proc.h
sys/kern kern_exit.c kern_fork.c
Log:
Add a missing resetpriority() which was causing all newly forked processes
to get realtime priority until the next reschedule. This permanently fixes
the 'jerky X pointer' problem.
Redo the parent estcpu inheritance code, make it much smarter by giving
child processes a small initial batch priority boost relative to the parent
and then allowing them to float back down if they are interactive, and
take this into account when aggregating the child's estcpu back into the
parent when the child exits. This handles initial conditions for batch
jobs.
Revision Changes Path
1.46 +2 -1 src/sys/sys/proc.h
1.32 +7 -15 src/sys/kern/kern_exit.c
1.20 +8 -2 src/sys/kern/kern_fork.c
http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.45&r2=1.46&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exit.c.diff?r1=1.31&r2=1.32&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.19&r2=1.20&f=h
More information about the Commits
mailing list