Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   yamt
Date:           Sat Dec 24 12:57:14 UTC 2005

Modified Files:
        src/sys/kern: kern_synch.c
        src/sys/sys: proc.h

Log Message:
fix a long-standing scheduler problem that p_estcpu is doubled
for each fork-wait cycles.

- updatepri: factor out the code to decay estcpu so that it can be used
  by scheduler_wait_hook.
- scheduler_fork_hook: record how much estcpu is inherited from
  the parent process.
- scheduler_wait_hook: don't add back inherited estcpu to the parent.


To generate a diff of this commit:
cvs rdiff -r1.156 -r1.157 src/sys/kern/kern_synch.c
cvs rdiff -r1.209 -r1.210 src/sys/sys/proc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index