cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h
M. Warner Losh
imp at bsdimp.com
Thu May 1 21:19:05 PDT 2003
In message: <20030502033051.C20181 at gamplex.bde.org>
Bruce Evans <bde at zeta.org.au> writes:
: You can't easily turn it off either. It may be running, or about to
: be run, and running it may turn interrupts back on. Perhaps fxp_intr()
: doesn't need to do this, but some interrupt handler do. They would
: need potentially expensive flags or locks or a different interrupt
: handler to tell them to act differently during detach. Perhaps a
: single lock is enough, but this thread started with a complaint that
: a single flag test was too expensive (as it may be when you do it a
: billion times here and there).
It wouldn't be too bad if you held the value to write in the softc.
That would mean just an extra indirect load for those drivers that
need to do this.
Warner
More information about the cvs-src
mailing list