Date: Mon, 6 Feb 2006 22:30:55 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/security/audit audit.c Message-ID: <200602062230.k16MUtOH009873@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-02-06 22:30:55 UTC
FreeBSD src repository
Modified files:
sys/security/audit audit.c
Log:
Manage audit record memory with the slab allocator, turning
initialization routines into a ctor, tear-down to a dtor, cleaning
up, etc. This will allow audit records to be allocated from
per-cpu caches.
On recent FreeBSD, dropping the audit_mtx around freeing to UMA is
no longer required (at one point it was possible to acquire Giant
on that path), so a mutex-free thread-local drain is no longer
required.
Obtained from: TrustedBSD Project
Revision Changes Path
1.4 +85 -100 src/sys/security/audit/audit.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602062230.k16MUtOH009873>
