Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2006 08:54:16 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        cvs-src@freebsd.org, Scott Long <scottl@samsco.org>, src-committers@freebsd.org, Warner Losh <imp@freebsd.org>, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/syscons/apm apm_saver.c src/sys/i386/bios apm.c apm.h
Message-ID:  <200606010854.17990.jhb@freebsd.org>
In-Reply-To: <20060601042747.GX27819@FreeBSD.org>
References:  <200605252306.k4PN6cCS081708@repoman.freebsd.org> <200605311123.02334.jhb@freebsd.org> <20060601042747.GX27819@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606010854.17990.jhb>