pccbb crashes when detaching (unsafe interrupt handler)

M. Warner Losh imp at bsdimp.com
Fri Jul 16 22:17:31 PDT 2004


In message: <20040715180854.GZ1626 at green.homeunix.org>
            Brian Fundakowski Feldman <green at freebsd.org> writes:
: This is what I have so far, but I'm not happy with it because it
: seems like it would be so much nicer to increment a count on the
: ithread's intrhand and drain any current interrupt out of the
: ithread, but possibly making each interrupt a lot more expensive.

I don't like this.  And I don't understand the problem at all.  If the
device isn't there, we already handle it correctly.  I think that it
is a lot of code to handle an extremely rare case.  I don't like
taking out an sx lock on every single interrupt.

Please do not commit this.  Thanks.

Warner


More information about the freebsd-current mailing list