Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 2004 00:17:14 +0000 (UTC)
From:      Bruce M Simpson <bms@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_vr.c
Message-ID:  <200407090017.i690HE33032940@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407090017.i690HE33032940>