P_NOLOAD + ULE = high load averages

David O'Brien obrien at FreeBSD.org
Thu Apr 22 10:50:54 PDT 2004


On Wed, Apr 21, 2004 at 03:32:30AM +0300, Nikos Ntarmos wrote:
> --- sys/kern/sched_ule.c.orig   Wed Apr 21 03:10:29 2004
> +++ sys/kern/sched_ule.c        Wed Apr 21 03:20:34 2004
> @@ -357,7 +357,7 @@
>         if (class == PRI_TIMESHARE)
>                 kseq->ksq_load_timeshare++;
>         kseq->ksq_load++;
> -       if (class != PRI_ITHD)
> +       if (class != PRI_ITHD && (ke->ke_proc->p_flag & P_NOLOAD) == 0)

This does not apply to 5.2-CURRENT (rev. 1.104).  I've adjusted your
patch locally, but can you please email me an updated testd patch just to
make sure what I'm going to commit is what you want.

-- 
-- David  (obrien at FreeBSD.org)


More information about the freebsd-current mailing list