Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Nov 2002 21:41:35 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/i386 vm86.c
Message-ID:  <XFMail.20021107214135.jhb@FreeBSD.org>
In-Reply-To: <003c01c286c3$44e8d710$ef01a8c0@davidwnt>

next in thread | previous in thread | raw e-mail | index | archive | help

On 08-Nov-2002 David Xu wrote:
> 
> ----- Original Message ----- 
> From: "David Xu" <davidxu@FreeBSD.org>
> To: <cvs-committers@FreeBSD.org>; <cvs-all@FreeBSD.org>
> Sent: Friday, November 08, 2002 9:09 AM
> Subject: cvs commit: src/sys/i386/i386 vm86.c
> 
> 
>> davidxu     2002/11/07 17:09:16 PST
>> 
>>   Modified files:
>>     sys/i386/i386        vm86.c 
>>   Log:
>>   use critical_enter/exit to add a critical section around BIOS call,
>>   this unbreaks WITNESS.
>>   
>>   Pointed out by: jhb
>>   
>>   Revision  Changes    Path
>>   1.50      +9 -5      src/sys/i386/i386/vm86.c
> 
> I turned WITNESS all the time, but it hadn't reported any error message
> when spin lock was used.

Turn WITNESS_SKIPSPIN off if you are using spin locks.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.20021107214135.jhb>