Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 15:25:42 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        current@freebsd.org, "David O'Brien" <obrien@freebsd.org>
Subject:   RE: mutex Giant not owned
Message-ID:  <XFMail.010817152542.jhb@FreeBSD.org>
In-Reply-To: <XFMail.010816075904.jhb@FreeBSD.org>

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

On 16-Aug-01 John Baldwin wrote:
> 
> On 16-Aug-01 David O'Brien wrote:
>># uname -a
>> FreeBSD phuong.nuxi.com 5.0-CURRENT FreeBSD 5.0-CURRENT #12: Sun Jul 15
>> 19:07:45 PDT 2001    
>> rootk@phuong.nuxi.com:/files/Current/sys/alpha/compile/DS20  alpha
> 
> Looks like a trapsignal() in trap() is being called w/o Giant.  I'll look at
> it.

Oh, I see why this is busted.  If we take a trap in the kernel while holding
Giant and it ends up doing a goto to 'out' we may unlock Giant while in the
kernel.  I'll try a different approach in a second: just grab Giant around
trapsignal().

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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