Date: Sat, 03 Mar 2001 17:49:38 -0700 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_intr.c src/sys/sys interrupt.h Message-ID: <200103040049.f240ncO75112@aslan.scsiguy.com> In-Reply-To: Your message of "Wed, 21 Feb 2001 18:18:33 PST." <200102220218.f1M2IX081475@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>jhb 2001/02/21 18:18:33 PST > > Modified files: > sys/kern kern_intr.c > sys/sys interrupt.h > Log: > Work around a race condition where an interrupt handler can be removed from > an interrupt thread while the interrupt thread is blocked on Giant waiting > to execute the interrupt handler being removed. Isn't there still a race for a driver trying to deregister its handler while an interrupt is running or about to run? It seems to me that the unregister call should block (spin?) until it is guaranteed that the hander is not executing and can never be called again. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103040049.f240ncO75112>