Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jul 2004 02:59:02 +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:  <200407030259.i632x2sF066748@repoman.freebsd.org>

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



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