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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to