From owner-cvs-all@FreeBSD.ORG Fri Apr 4 13:29:48 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CBFD1065671; Fri, 4 Apr 2008 13:29:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 81BB98FC30; Fri, 4 Apr 2008 13:29:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id 32AAC1A4D7E; Fri, 4 Apr 2008 06:29:48 -0700 (PDT) From: John Baldwin To: Jeff Roberson Date: Fri, 4 Apr 2008 09:04:37 -0400 User-Agent: KMail/1.9.7 References: <200804040104.m3414hJj074163@repoman.freebsd.org> In-Reply-To: <200804040104.m3414hJj074163@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804040904.37819.jhb@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2008 13:29:48 -0000 On Thursday 03 April 2008 09:04:43 pm Jeff Roberson wrote: > jeff 2008-04-04 01:04:43 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_ule.c > Log: > - Don't check for the ITHD pri class in tdq_load_add and rem. 4BSD > doesn't do this either. Simply check P_NOLOAD. It'd be nice if this was > in a thread flag so we didn't have an extra cache miss every time we add > and remove a thread from the run-queue. Actually, now that all interrupt threads are in a single process, it should be a per-thread flag. It was only ever intended to mask softclock since that is what did the load calculation on 4BSD so that 4BSD wouldn't always return a load of 1 even on an idle box (since softclock was always running when the load was checked). -- John Baldwin