Date: Fri, 16 Mar 2001 09:29:47 +0000 (GMT) From: Doug Rabson <dfr@nlsystems.com> To: John Baldwin <jhb@FreeBSD.org> Cc: Matthew Jacob <mjacob@feral.com>, <arch@FreeBSD.org>, Matt Dillon <dillon@earth.backplane.com> Subject: Re: Proposal for the CPU interrupt API Message-ID: <Pine.BSF.4.33.0103160928560.47065-100000@salmon.nlsystems.com> In-Reply-To: <XFMail.010315190519.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Mar 2001, John Baldwin wrote: > > On 16-Mar-01 Matthew Jacob wrote: > > > > > >> > >> :I would hope it would actually disable interrupts. > >> > >> On all cpu's or just the current cpu? > > > > Undefined. This depends on the architecture. Some architectures don't have a > > global interrupt lockout mechanism. Some architectures vary as to whether or > > not interrupts can be directed to one CPU, broadcast to all, or only for a > > specific CPU. > > > > I think it's safe to say that given your specific platform's interrupt > > mechanism, this disable_intr disables for this CPU only, or for all. > > Yep. I think that on the Alpha the IPL may be shared among all CPU's or may be > per-CPU but I'm not sure. On the x86 it would only be for the local CPU, but > all that any calling code should depend on is that it disables interrupts for > the current CPU. On the alpha, IPL is a cpu-local attribute as far as I know. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 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?Pine.BSF.4.33.0103160928560.47065-100000>