From 0ff2c248616898c21ef270fa1b77309f363aa53d Mon Sep 17 00:00:00 2001 From: mmacy Date: Sun, 20 May 2018 20:34:15 +0000 Subject: [PATCH] pmc: detach free_gtask on unload Reported by: pho --- sys/dev/hwpmc/hwpmc_mod.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/hwpmc/hwpmc_mod.c b/sys/dev/hwpmc/hwpmc_mod.c index 6702941e1098..b73aa17b5f63 100644 --- a/sys/dev/hwpmc/hwpmc_mod.c +++ b/sys/dev/hwpmc/hwpmc_mod.c @@ -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;