Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jul 2002 17:16:56 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Alfred Perlstein <bright@mu.org>
Cc:        Julian Elischer <julian@elischer.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_zeroidle.c 
Message-ID:  <20020709001656.04E383811@overcee.wemm.org>
In-Reply-To: <20020708235903.GU97638@elvis.mu.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote:
> * Julian Elischer <julian@elischer.org> [020708 16:40] wrote:
> > This is a good reason to have spin and sleep mutexes declared
> > as different types so that the compiler can notice this sort of thing.
> 
> True, but one could also add some KASSERTs for the time being.

I was running with INVARIANTS only.  Apparently WITNESS would have noticed
and paniced the box right away.

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


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?20020709001656.04E383811>