cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h
M. Warner Losh
imp at bsdimp.com
Tue Apr 29 10:55:42 PDT 2003
In message: <20030429133708.A84234 at grasshopper.cs.duke.edu>
Andrew Gallatin <gallatin at cs.duke.edu> writes:
: What is this deadlock with bus_teardown_intr? Could we possibly fix
: this some other way than by adding (mostly) useless code to the
: critical path?
I can remove it if it really annoys you that much. The locking code
itself will swamp the extra load/compare that happens. It will put
the race back into the code, however. This likely means that some
higher level of locking is necessary so that we can make sure that the
interrupts can't happen once detach starts.
More information about the cvs-all