Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2004 10:50:36 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Nikos Ntarmos <ntarmos@ceid.upatras.gr>
Cc:        current@FreeBSD.org
Subject:   Re: P_NOLOAD + ULE = high load averages
Message-ID:  <20040422175036.GC14941@dragon.nuxi.com>
In-Reply-To: <20040421003230.GA17810@diogenis.ceid.upatras.gr>
References:  <20040421003230.GA17810@diogenis.ceid.upatras.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040422175036.GC14941>