Date: Sun, 17 Sep 2000 08:40:48 +0930 From: Greg Lehey <grog@lemis.com> To: Bruce Evans <bde@zeta.org.au> Cc: Jordan Hubbard <jkh@winston.osd.bsdi.com>, John Baldwin <jhb@FreeBSD.org>, 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> In-Reply-To: <Pine.BSF.4.21.0009170219320.4666-100000@besplex.bde.org>; from bde@zeta.org.au on Sun, Sep 17, 2000 at 02:36:22AM %2B1100 References: <98695.969066547@winston.osd.bsdi.com> <Pine.BSF.4.21.0009170219320.4666-100000@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000917084048.A6141>