Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 10:24:14 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        arch@FreeBSD.org, jasone@FreeBSD.org, Bosko Milekic <bmilekic@technokratis.com>
Subject:   Re: mtx_init: MTX_RECURSE and potential SMP troublespots
Message-ID:  <XFMail.010118102414.jhb@FreeBSD.org>
In-Reply-To: <3A671284.A8DA14C1@elischer.org>

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

On 18-Jan-01 Julian Elischer wrote:
> John Baldwin wrote:
>> 
> 
>> 
>> Also, MTX_NORECURSE is only useful on spin mutexes.  If you compile a kernel
>> with MUTEX_DEBUG and ichsmb, it panics during boot.  All the MTX_NORECURSE
>> flags just need to die here.
> 
> yeah, recursing should always be illegal.
>:-)

It will be by default.  MTX_RECURSE will be an opt-in flag to mtx_init() (if
that makes any sense).

-- 

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-arch" in the body of the message




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