cvs commit: src/sys/pci if_vr.c
Bruce M Simpson
bms at FreeBSD.org
Fri Jul 2 19:59:03 PDT 2004
bms 2004-07-03 02:59:02 UTC
FreeBSD src repository
Modified files:
sys/pci if_vr.c
Log:
SMPng locking cleanup for vr(4).
- Remove recursive locking situations. Remove the MTX_RECURSE bit.
- Take the lock for any routine which is not called from within if_vr.c
itself; this includes entry points called by newbus, ifnet, callout,
ifmedia, and polling subsystems.
- Remove spl references from the code added to miibus callbacks in rev 1.60.
- Add the INTR_MPSAFE bit.
- Tidy up some assignments; locks are not needed for taking the address
of something at a known offset, for example.
- Tested on the machine this was committed from.
Tested on: UP only, !debug.mpsafenet && debug.mpsafenet
Reviewed by: rwatson
Revision Changes Path
1.89 +58 -66 src/sys/pci/if_vr.c
More information about the cvs-all
mailing list