svn commit: r277489 - head/sys/kern
Gleb Smirnoff
glebius at FreeBSD.org
Wed Jan 21 18:24:49 UTC 2015
On Wed, Jan 21, 2015 at 04:32:55PM +0000, Konstantin Belousov wrote:
K> Author: kib
K> Date: Wed Jan 21 16:32:54 2015
K> New Revision: 277489
K> URL: https://svnweb.freebsd.org/changeset/base/277489
K>
K> Log:
K> Do not assert that the new pipepair mutex is not initialized. The
K> backing memory contains garbage and might trigger the assertion.
I have touched dozen of places in kernel where I do explicit M_ZERO on
allocation just to satisfy later assertion in the mtx_init. Is the
correct fix to use MTX_NEW?
--
Totus tuus, Glebius.
More information about the svn-src-all
mailing list