From owner-cvs-src@FreeBSD.ORG Mon Feb 2 14:36:17 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4AF616A4D1 for ; Mon, 2 Feb 2004 14:36:17 -0800 (PST) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0104943D46 for ; Mon, 2 Feb 2004 14:36:10 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 5591 invoked from network); 2 Feb 2004 22:36:09 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 2 Feb 2004 22:36:09 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i12MZYME096425; Mon, 2 Feb 2004 17:36:04 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Jeff Roberson Date: Mon, 2 Feb 2004 17:27:07 -0500 User-Agent: KMail/1.5.4 References: <20040131215357.N36463-100000@mail.chesapeake.net> In-Reply-To: <20040131215357.N36463-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402021727.07876.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_synch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 22:36:18 -0000 On Saturday 31 January 2004 09:54 pm, Jeff Roberson wrote: > On Wed, 28 Jan 2004, John Baldwin wrote: > > jhb 2004/01/28 12:44:41 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/kern kern_synch.c > > Log: > > Move the loadav() callout into its own kthread since it uses > > allproc_lock which is a sleepable lock and thus is not safe to acquire > > from a callout routine. > > Can you back this out now? I've commited a slightly better solution that > makes our loadavg function more correct as well as removing the lock > requirement. Didn't you already back this out? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org