cvs commit: src/sys/compat/ndis subr_ndis.c subr_ntoskrnl.c
Bill Paul
wpaul at FreeBSD.org
Tue Jan 6 23:29:28 PST 2004
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
More information about the cvs-src
mailing list