From owner-cvs-src-old@FreeBSD.ORG Thu Oct 30 17:48:03 2008 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 56B55106564A for ; Thu, 30 Oct 2008 17:48:03 +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 2B30E8FC1A for ; Thu, 30 Oct 2008 17:48:03 +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 m9UHm39Z080901 for ; Thu, 30 Oct 2008 17:48:03 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m9UHm30l080900 for cvs-src-old@freebsd.org; Thu, 30 Oct 2008 17:48:03 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200810301748.m9UHm30l080900@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Thu, 30 Oct 2008 17:47:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/security/audit audit_bsm_klib.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: Thu, 30 Oct 2008 17:48:03 -0000 rwatson 2008-10-30 17:47:57 UTC FreeBSD src repository Modified files: sys/security/audit audit_bsm_klib.c Log: SVN rev 184482 on 2008-10-30 17:47:57Z by rwatson Protect the event->class lookup database using an rwlock instead of a mutex, as it's rarely changed but frequently accessed read-only from multiple threads, so a potentially significant source of contention. MFC after: 1 month Sponsored by: Apple, Inc. Revision Changes Path 1.19 +15 -8 src/sys/security/audit/audit_bsm_klib.c