From owner-cvs-all Sat Sep 16 16:11:12 2000 Delivered-To: cvs-all@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id DF3C937B422; Sat, 16 Sep 2000 16:11:06 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e8GNAmD39391; Sun, 17 Sep 2000 08:40:48 +0930 (CST) (envelope-from grog) Date: Sun, 17 Sep 2000 08:40:48 +0930 From: Greg Lehey To: Bruce Evans Cc: Jordan Hubbard , John Baldwin , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_idle.c src/sys/vm vm_meter.c src/sys/i386/isa ithread.c src/sys/sys proc.h Message-ID: <20000917084048.A6141@wantadilla.lemis.com> References: <98695.969066547@winston.osd.bsdi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bde@zeta.org.au on Sun, Sep 17, 2000 at 02:36:22AM +1100 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 17 September 2000 at 2:36:22 +1100, Bruce Evans wrote: > On Fri, 15 Sep 2000, Jordan Hubbard wrote: > >>> - Add a new process flag P_NOLOAD that marks a process that should be >>> ignored during load average calcuations. >>> - Set this flag for the idle processes and the softinterrupt process. > > It shouldn't be set for the softinterrupt process since that process does > useful work. As jhb has pointed out, the calculations take place in the context of the soft interrupt handler, so this was a simple way of getting useful results. I agree that we should be accounting for soft interrupts, but it's obviously a little complicated at the moment. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message