From owner-freebsd-arch Thu Mar 15 18:28:46 2001 Delivered-To: freebsd-arch@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id E409337B719; Thu, 15 Mar 2001 18:28:43 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f2G2Sgh26607; Thu, 15 Mar 2001 18:28:42 -0800 (PST) Date: Thu, 15 Mar 2001 18:28:42 -0800 From: Alfred Perlstein To: Jonathan Lemon Cc: John Baldwin , arch@FreeBSD.ORG Subject: Re: Proposal for the CPU interrupt API Message-ID: <20010315182842.P29888@fw.wintelcom.net> References: <20010315202359.K82645@prism.flugsvamp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010315202359.K82645@prism.flugsvamp.com>; from jlemon@flugsvamp.com on Thu, Mar 15, 2001 at 08:23:59PM -0600 X-all-your-base: are belong to us. Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Jonathan Lemon [010315 18:27] wrote: > On Thu, Mar 15, 2001 at 06:25:30PM -0800, John Baldwin wrote: > > and the code above would become this instead: > > > > intrmask_t foo = intr_disable(); > > ... > > intr_restore(foo); > > > > Comments, objections? > > Sounds good to me. wait, bring back splhigh(). :) Seriously, using the mask is a good idea. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message