Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2018 20:34:15 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333938 - head/sys/dev/hwpmc
Message-ID:  <201805202034.w4KKYFbu056172@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmacy
Date: Sun May 20 20:34:15 2018
New Revision: 333938
URL: https://svnweb.freebsd.org/changeset/base/333938

Log:
  pmc: detach free_gtask on unload
  
  Reported by:	pho

Modified:
  head/sys/dev/hwpmc/hwpmc_mod.c

Modified: head/sys/dev/hwpmc/hwpmc_mod.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_mod.c	Sun May 20 20:28:17 2018	(r333937)
+++ head/sys/dev/hwpmc/hwpmc_mod.c	Sun May 20 20:34:15 2018	(r333938)
@@ -5557,6 +5557,7 @@ pmc_cleanup(void)
 		mtx_pool_destroy(&pmc_mtxpool);
 
 	mtx_destroy(&pmc_processhash_mtx);
+	taskqgroup_config_gtask_deinit(&free_gtask);
 	if (pmc_processhash) {
 #ifdef	HWPMC_DEBUG
 		struct pmc_process *pp;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805202034.w4KKYFbu056172>