From owner-cvs-src@FreeBSD.ORG Thu Jun 1 14:07:12 2006 Return-Path: X-Original-To: cvs-src@freebsd.org 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 6045716B20A; Thu, 1 Jun 2006 14:07:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A4E243D6D; Thu, 1 Jun 2006 14:07:05 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [131.106.58.208] (72-255-64-173.client.stsn.net [72.255.64.173]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k51E71Fv078629; Thu, 1 Jun 2006 10:07:04 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Gleb Smirnoff Date: Thu, 1 Jun 2006 08:54:16 -0400 User-Agent: KMail/1.9.1 References: <200605252306.k4PN6cCS081708@repoman.freebsd.org> <200605311123.02334.jhb@freebsd.org> <20060601042747.GX27819@FreeBSD.org> In-Reply-To: <20060601042747.GX27819@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606010854.17990.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1504/Wed May 31 15:59:14 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.1 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: cvs-src@freebsd.org, Scott Long , src-committers@freebsd.org, Warner Losh , cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/syscons/apm apm_saver.c src/sys/i386/bios apm.c apm.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 01 Jun 2006 14:07:12 -0000 On Thursday 01 June 2006 00:27, Gleb Smirnoff wrote: > On Wed, May 31, 2006 at 11:23:01AM -0400, John Baldwin wrote: > J> Nah, that was phk's other timekeeping code to see which timeouts take a long > J> time to execute. The THREAD_NO_SLEEPING() stuff was added just before 6.0 > J> was released and replaced a couple of "special" mutexes that were held just > J> to provoke WITNESS warnings. > > To take a long time to execute one doesn't need to sleep, it can also do > a lot of job. Yes, but sleeping in softclock leads to deadlock much more quickly than a long-running callout. -- John Baldwin