Author: will
Date: Wed Oct  1 16:16:01 2014
New Revision: 272371
URL: https://svnweb.freebsd.org/changeset/base/272371

Log:
  Embellish a comment regarding the reliability of DEBUG_VFS_LOCKS.
  
  Submitted by: kib

Modified:
  head/sys/sys/vnode.h

Modified: head/sys/sys/vnode.h
==============================================================================
--- head/sys/sys/vnode.h        Wed Oct  1 16:09:11 2014        (r272370)
+++ head/sys/sys/vnode.h        Wed Oct  1 16:16:01 2014        (r272371)
@@ -503,7 +503,9 @@ extern struct vnodeop_desc *vnodeop_desc
  * reliable since if the thread sleeps between changing the lock
  * state and checking it with the assert, some other thread could
  * change the state.  They are good enough for debugging a single
- * filesystem using a single-threaded test.
+ * filesystem using a single-threaded test.  Note that the unreliability is
+ * limited to false negatives; efforts were made to ensure that false
+ * positives cannot occur.
  */
 void   assert_vi_locked(struct vnode *vp, const char *str);
 void   assert_vi_unlocked(struct vnode *vp, const char *str);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to