- Temporarily disable the nice -20 throttling code. It has some interaction

with APM that I do not understand yet.

Reported & Tested by:	glebius
This commit is contained in:
Jeff Roberson 2004-11-11 19:48:57 +00:00
parent 00e13b1d67
commit 3ba5c2faab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137588

View file

@ -893,7 +893,11 @@ kseq_choose(struct kseq *kseq)
* of the range that receives slices.
*/
nice = ke->ke_proc->p_nice + (0 - kseq->ksq_nicemin);
#ifdef notyet
if (ke->ke_slice == 0 || nice > SCHED_SLICE_NTHRESH) {
#else
if (ke->ke_slice == 0) {
#endif
runq_remove(ke->ke_runq, ke);
sched_slice(ke);
ke->ke_runq = kseq->ksq_next;