From owner-freebsd-arch Thu Jan 18 10:24:36 2001 Delivered-To: freebsd-arch@freebsd.org Received: from moby.geekhouse.net (moby.geekhouse.net [64.81.6.36]) by hub.freebsd.org (Postfix) with ESMTP id 063F737B400; Thu, 18 Jan 2001 10:24:19 -0800 (PST) Received: from laptop.baldwin.cx (john@dhcp150.geekhouse.net [192.168.1.150]) by moby.geekhouse.net (8.11.0/8.9.3) with ESMTP id f0IISKs68410; Thu, 18 Jan 2001 10:28:21 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3A671284.A8DA14C1@elischer.org> Date: Thu, 18 Jan 2001 10:24:14 -0800 (PST) From: John Baldwin To: Julian Elischer Subject: Re: mtx_init: MTX_RECURSE and potential SMP troublespots Cc: arch@FreeBSD.org, jasone@FreeBSD.org, Bosko Milekic Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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