From owner-freebsd-arch Thu Jan 3 3: 2:12 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 9C10037B41C; Thu, 3 Jan 2002 03:02:08 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id WAA30288; Thu, 3 Jan 2002 22:01:58 +1100 Date: Thu, 3 Jan 2002 23:13:23 +1100 (EST) From: Bruce Evans X-X-Sender: To: Peter Wemm Cc: Matthew Dillon , John Baldwin , , Bernd Walter , Mike Smith , Michal Mertl , Peter Jeremy Subject: Re: When to use atomic_ functions? (was: 64 bit counters) In-Reply-To: <20020103102543.7737039EC@overcee.netplex.com.au> Message-ID: <20020103224754.G16354-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 3 Jan 2002, Peter Wemm wrote: > Incidently, probably 90%+ of freebsd boxes (all those that run GENERIC or > similar) are essentially wire-oring the interrupt masks together due to the > slip/ppp drivers in the kernel. On most of them, splanything() pretty much > masks all interrupts. Check tty_imask, net_imask, and bio_imask and see > for yourself (and check cambio/camnet as well). We *almost* have a boolean Er, I think someone named peter fixed this so that it only happens if slip/ppp is actually used. Only RELENG_3 still has the compile-time wiring for slip. > "interrupts on or off" state on most of these systems (not quite but > almost). Almost all except clock and fast interrupts. This may be best (at least for UP). It's more efficient, and strict interrupt prioritisation is rarely important. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message