Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 2004 23:29:27 -0800 (PST)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/ndis subr_ndis.c subr_ntoskrnl.c
Message-ID:  <200401070729.i077TRgG053330@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       2004/01/06 23:29:27 PST

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      subr_ndis.c subr_ntoskrnl.c 
  Log:
  Use atomic ops for the interlocked increment and decrement routines
  in subr_ndis and subr_ntoskrnl. This is faster and avoids potential
  LOR whinage from witness (an LOR couldn't happen with the old code
  since the interlocked inc/dec routines could not sleep with a lock
  held, but this will keep witness happy and it's more efficient
  anyway. I think.)
  
  Revision  Changes    Path
  1.29      +3 -6      src/sys/compat/ndis/subr_ndis.c
  1.9       +3 -8      src/sys/compat/ndis/subr_ntoskrnl.c



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