svn commit: r192456 - head/sys/kern
John Baldwin
jhb at FreeBSD.org
Wed May 20 18:29:15 UTC 2009
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
More information about the svn-src-all
mailing list