Date: Tue, 17 Jun 2003 03:21:34 -0700 (PDT) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sched_ule.c Message-ID: <200306171021.h5HALYfZ015839@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2003/06/17 03:21:34 PDT
FreeBSD src repository
Modified files:
sys/kern sched_ule.c
Log:
- Temporarily patch a problem where the interact score could be negative
because the run time exceeds the largest value a signed int can hold.
The real solution involves calculating how far we are over the limit.
To quickly solve this problem we loop removing 1/5th of the current value
until it falls below the limit. The common case requires no passes.
Revision Changes Path
1.43 +2 -1 src/sys/kern/sched_ule.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306171021.h5HALYfZ015839>
