Date: Wed, 20 May 2009 18:29:14 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192456 - head/sys/kern Message-ID: <200905201829.n4KITErS039699@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905201829.n4KITErS039699>