cvs commit: src/sys/security/mac mac_framework.c
Robert Watson
rwatson at FreeBSD.org
Sun Dec 31 12:26:21 PST 2006
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
More information about the cvs-src
mailing list