Date: Mon, 1 Jul 2013 23:12:59 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r252493 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace Message-ID: <201307012312.r61NCxk9094038@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Mon Jul 1 23:12:59 2013 New Revision: 252493 URL: http://svnweb.freebsd.org/changeset/base/252493 Log: Be sure to destory the fasttrap cleanup mutex when unloading the fasttrap module. This should be MFCed with r250953. Modified: head/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c ============================================================================== --- head/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c Mon Jul 1 22:38:36 2013 (r252492) +++ head/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c Mon Jul 1 23:12:59 2013 (r252493) @@ -2435,6 +2435,7 @@ fasttrap_unload(void) mtx_sleep(&fasttrap_cleanup_drain, &fasttrap_cleanup_mtx, 0, "ftcld", 0); fasttrap_cleanup_proc = NULL; + mtx_destroy(&fasttrap_cleanup_mtx); #ifdef DEBUG mutex_enter(&fasttrap_count_mtx);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307012312.r61NCxk9094038>