freebsd-dev/sys/dev/vr
Bruce M Simpson 968bc43646 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
2004-07-03 02:59:02 +00:00
..
if_vr.c SMPng locking cleanup for vr(4). 2004-07-03 02:59:02 +00:00
if_vrreg.h - Rewritten TX to use only two pointers to track producer/consumer. 2004-04-05 17:39:57 +00:00