From owner-cvs-src-old@FreeBSD.ORG Tue Jan 6 14:15:45 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0D8D10656C3 for ; Tue, 6 Jan 2009 14:15:44 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 852E18FC1C for ; Tue, 6 Jan 2009 14:15:44 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n06EFi2F065448 for ; Tue, 6 Jan 2009 14:15:44 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n06EFi5f065447 for cvs-src-old@freebsd.org; Tue, 6 Jan 2009 14:15:44 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200901061415.n06EFi5f065447@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Tue, 6 Jan 2009 14:15:38 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/security/audit audit_pipe.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 14:15:48 -0000 rwatson 2009-01-06 14:15:38 UTC FreeBSD src repository Modified files: sys/security/audit audit_pipe.c Log: SVN rev 186825 on 2009-01-06 14:15:38Z by rwatson Do a lockless read of the audit pipe list before grabbing the audit pipe lock in order to avoid the lock acquire hit if the pipe list is very likely empty. Obtained from: TrustedBSD Project MFC after: 3 weeks Sponsored by: Apple, Inc. Revision Changes Path 1.29 +4 -0 src/sys/security/audit/audit_pipe.c