From owner-freebsd-arch Fri Mar 16 15:23:36 2001 Delivered-To: freebsd-arch@freebsd.org Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (Postfix) with ESMTP id 24C0937B718; Fri, 16 Mar 2001 15:23:34 -0800 (PST) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.9.3/8.9.3) id QAA06972; Fri, 16 Mar 2001 16:17:29 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp04.primenet.com, id smtpdAAAtNaWCn; Fri Mar 16 16:17:16 2001 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id QAA18245; Fri, 16 Mar 2001 16:23:12 -0700 (MST) From: Terry Lambert Message-Id: <200103162323.QAA18245@usr07.primenet.com> Subject: Re: man pages To: mjacob@feral.com Date: Fri, 16 Mar 2001 23:23:12 +0000 (GMT) Cc: jhb@FreeBSD.ORG (John Baldwin), arch@FreeBSD.ORG In-Reply-To: from "Matthew Jacob" at Mar 16, 2001 02:21:58 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Actually, I think you only need disable_intr && restore_intr, which should be > paired over tight MD code sections, and yes, leaving it ambigious is desirable > IMO. [ .. man page ... ] > It is deliberately left undefined whether this disables interrupts > only on the calling CPU or whether this disables interrupts across > the entire system. Clearly it must be used with caution and does > not eliminate the need for appropriate locking. Rather than doing this, wouldn't it just be easier to say that it can not be uses for inter-CPU synchronization, but may result in inter-CPU synchronization as a side effect on some architectures? Given that it's going to be used, and it's vaue, you might even go so far as to claim "as an undesirable side effect"... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message