From owner-cvs-src-old@FreeBSD.ORG Mon Mar 16 17:25:29 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 B06B710656F1 for ; Mon, 16 Mar 2009 17:25:29 +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 9C1A88FC40 for ; Mon, 16 Mar 2009 17:25:29 +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 n2GHPT4D066976 for ; Mon, 16 Mar 2009 17:25:29 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2GHPTHE066975 for cvs-src-old@freebsd.org; Mon, 16 Mar 2009 17:25:29 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200903161725.n2GHPTHE066975@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Mon, 16 Mar 2009 17:25:09 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/security/audit audit.c audit.h audit_syscalls.c src/sys/sys proc.h 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: Mon, 16 Mar 2009 17:25:30 -0000 rwatson 2009-03-16 17:25:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit.c audit.h audit_syscalls.c sys/sys proc.h Log: SVN rev 189890 on 2009-03-16 17:25:09Z by rwatson Merge r189570 from head to stable/7: Add a new thread-private flag, TDP_AUDITREC, to indicate whether or not there is an audit record hung off of td_ar on the current thread. Test this flag instead of td_ar when auditing syscall arguments or checking for an audit record to commit on syscall return. Under these circumstances, td_pflags is much more likely to be in the cache (especially if there is no auditing of the current system call), so this should help reduce cache misses in the system call return path. Reported by: kris Obtained from: TrustedBSD Project Revision Changes Path 1.33.2.13 +11 -2 src/sys/security/audit/audit.c 1.14.2.8 +3 -3 src/sys/security/audit/audit.h 1.21.2.10 +1 -0 src/sys/security/audit/audit_syscalls.c 1.491.2.12 +1 -0 src/sys/sys/proc.h