Date: Sun, 31 Dec 2006 20:26:20 +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/mac mac_framework.c Message-ID: <200612312026.kBVKQKaG062856@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-12-31 20:26:20 UTC FreeBSD src repository Modified files: sys/security/mac mac_framework.c Log: Only signal the CV indicating that the MAC Framework is available for exclusive access if there is at least one thread waiting for it to become available. This may significantly reduce overhead by reducing the number of unnecessary wakeups issued whenever the framework becomes idle. Annotate that we still signal the CV more than necessary and should fix this. Obtained from: TrustedBSD Project Reviewed by: csjp Tested by: csjp Revision Changes Path 1.135 +23 -6 src/sys/security/mac/mac_framework.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612312026.kBVKQKaG062856>