From owner-freebsd-current@FreeBSD.ORG Thu Apr 22 10:50:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B50B316A4CE for ; Thu, 22 Apr 2004 10:50:54 -0700 (PDT) Received: from TRANG.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9832043D1F for ; Thu, 22 Apr 2004 10:50:54 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by TRANG.nuxi.com (8.12.11/8.12.10) with ESMTP id i3MHoix0015316; Thu, 22 Apr 2004 10:50:44 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i3MHoaDi015314; Thu, 22 Apr 2004 10:50:36 -0700 (PDT) (envelope-from obrien) Date: Thu, 22 Apr 2004 10:50:36 -0700 From: "David O'Brien" To: Nikos Ntarmos Message-ID: <20040422175036.GC14941@dragon.nuxi.com> Mail-Followup-To: David O'Brien , Nikos Ntarmos , current@FreeBSD.org References: <20040421003230.GA17810@diogenis.ceid.upatras.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040421003230.GA17810@diogenis.ceid.upatras.gr> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: current@FreeBSD.org Subject: Re: P_NOLOAD + ULE = high load averages X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 17:50:54 -0000 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)