]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use atomic ops for the interlocked increment and decrement routines
authorBill Paul <wpaul@FreeBSD.org>
Wed, 7 Jan 2004 07:29:27 +0000 (07:29 +0000)
committerBill Paul <wpaul@FreeBSD.org>
Wed, 7 Jan 2004 07:29:27 +0000 (07:29 +0000)
commite15712876215565688b40db0123502e2c56bbeee
tree0bbc95e856a26a77d8697ca0941527c820f67829
parente3c8d8194c262e1741f6aa83fda1816ceba676b6
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.)
sys/compat/ndis/subr_ndis.c
sys/compat/ndis/subr_ntoskrnl.c