summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-02-10 14:03:45 +0000
committerjeff <jeff@FreeBSD.org>2003-02-10 14:03:45 +0000
commitfbd09df3ebb5c8ef1b210de15741b060a2fa1c1a (patch)
tree485e43da061208f54066ed3b4072121b02a1b216 /contrib/sendmail
parent15498f1825ef9fc89467f53960cd35a18535078a (diff)
downloadFreeBSD-src-fbd09df3ebb5c8ef1b210de15741b060a2fa1c1a.zip
FreeBSD-src-fbd09df3ebb5c8ef1b210de15741b060a2fa1c1a.tar.gz
- Add a new variable 'kg_runtime' that tracks the amount of time we've run.
- Use the ratio of kg_runtime / kg_slptime to determine our dynamic priority. - Scale kg_runtime and kg_slptime back when the sum of the two exceeds SCHED_SLP_RUN_MAX. This allows us to slowly forget old behavior. - Scale back the runtime and slptime in fork so that the new process has the same ratio but much less accumulated time. This causes new behavior to be noticed more quickly.
Diffstat (limited to 'contrib/sendmail')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud