cvs commit: src/sys/pci if_vr.c

Bruce M Simpson bms at FreeBSD.org
Thu Jul 8 17:17:15 PDT 2004


bms         2004-07-09 00:17:14 UTC

  FreeBSD src repository

  Modified files:
    sys/pci              if_vr.c 
  Log:
  Further locking improvements for vr(4):
   - Add *_locked() entry points as needed to avoid unnecessary lock thrashing.
   - Use these entry points wisely.
   - Only acquire the lock once when servicing an interrupt.
   - Check 'suspended' on interrupt to avoid racing detach.
   - Correct a mis-spelled comment.
   - Don't take the lock in vr_reset() to avoid lock thrashing in attach.
    - Comment this.
  
  Reviewed by:    -net (silence)
  
  Revision  Changes    Path
  1.90      +69 -46    src/sys/pci/if_vr.c


More information about the cvs-src mailing list