Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Nov 2002 21:41:38 -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.20021107214138.jhb@FreeBSD.org>
In-Reply-To: <200211080109.gA819GZG073240@repoman.freebsd.org>

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

On 08-Nov-2002 David Xu wrote:
> 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.

Well, changing the lock to MTX_DEF is what unbreaks witness.  You probably
don't actually need to be in a critical section in vm86_datacall() except
around the actual call to vm86_bioscall().

-- 

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.20021107214138.jhb>