Author: jhb
Date: Wed May 20 18:29:14 2009
New Revision: 192456
URL: http://svn.freebsd.org/changeset/base/192456

Log:
  Remove an obsolete assertion.  We always wake up all waiters when unlocking
  a mutex and never set the lock cookie == MTX_CONTESTED.

Modified:
  head/sys/kern/kern_mutex.c

Modified: head/sys/kern/kern_mutex.c
==============================================================================
--- head/sys/kern/kern_mutex.c  Wed May 20 18:25:16 2009        (r192455)
+++ head/sys/kern/kern_mutex.c  Wed May 20 18:29:14 2009        (r192456)
@@ -364,8 +364,6 @@ _mtx_lock_sleep(struct mtx *m, uintptr_t
                        continue;
                }
 
-               MPASS(v != MTX_CONTESTED);
-
 #ifdef ADAPTIVE_MUTEXES
                /*
                 * If the current owner of the lock is executing on another
_______________________________________________
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