Date: Tue, 19 Nov 1996 21:43:24 -0800 From: "Justin T. Gibbs" <gibbs@freefall.freebsd.org> To: Steve Passe <smp@csn.net> Cc: cbrown@aracnet.com, Barney Wolff <barney@databus.com>, freebsd-smp@freebsd.org Subject: Re: reinventing vs copying Message-ID: <199611200543.VAA05726@freefall.freebsd.org> In-Reply-To: Your message of "Tue, 19 Nov 1996 21:59:04 MST." <199611200459.VAA22372@clem.systemsix.com>
index | next in thread | previous in thread | raw e-mail
>Bruce Evan's code avoids masking INTs unless the
>kernel is already servicing the same INT. This greatly diminishes the
>occurance of lost INTs.
Can't you completely eliminate lost INTs with the following algorithm?
while in ISR {
if interrupt happens {
mask interrupt
set flag to call ISR again
}
}
unmask interrupt if masked.
call ISR if flag is set.
>Steve Passe | powered by
>smp@csn.net | FreeBSD
--
Justin T. Gibbs
===========================================
FreeBSD: Turning PCs into workstations
===========================================
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611200543.VAA05726>
