summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-05-20 18:29:14 +0000
committerjhb <jhb@FreeBSD.org>2009-05-20 18:29:14 +0000
commit53d01dc702bc1a0172661976537c03207f504426 (patch)
tree0da75aa2361e198147c87e5b323c97f00c29f527 /sys/kern/kern_mutex.c
parentbc9abffcd5551c3a4797d213bff7b88c21103c7d (diff)
downloadFreeBSD-src-53d01dc702bc1a0172661976537c03207f504426.zip
FreeBSD-src-53d01dc702bc1a0172661976537c03207f504426.tar.gz
Remove an obsolete assertion. We always wake up all waiters when unlocking
a mutex and never set the lock cookie == MTX_CONTESTED.
Diffstat (limited to 'sys/kern/kern_mutex.c')
-rw-r--r--sys/kern/kern_mutex.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index c56e124..ea85268 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -364,8 +364,6 @@ _mtx_lock_sleep(struct mtx *m, uintptr_t tid, int opts, const char *file,
continue;
}
- MPASS(v != MTX_CONTESTED);
-
#ifdef ADAPTIVE_MUTEXES
/*
* If the current owner of the lock is executing on another
OpenPOWER on IntegriCloud