From owner-cvs-src@FreeBSD.ORG Tue Jan 6 23:29:28 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CA3E16A4CE; Tue, 6 Jan 2004 23:29:28 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C75F43D55; Tue, 6 Jan 2004 23:29:27 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i077TR0B053331; Tue, 6 Jan 2004 23:29:27 -0800 (PST) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i077TRgG053330; Tue, 6 Jan 2004 23:29:27 -0800 (PST) (envelope-from wpaul) Message-Id: <200401070729.i077TRgG053330@repoman.freebsd.org> From: Bill Paul Date: Tue, 6 Jan 2004 23:29:27 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/ndis subr_ndis.c subr_ntoskrnl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 07:29:28 -0000 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