HomeFreeBSD

Further locking improvements for vr(4):

Description

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)

Details

Provenance
bmsAuthored on Jul 9 2004, 12:17 AM
Parents
rGee06f01331c8: Add a 'suspended' flag to softc so that we can avoid races on detach.
Branches
Unknown
Tags
Unknown

Event Timeline