Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2016 11:41:09 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309550 - head/sys/x86/iommu
Message-ID:  <201612051141.uB5Bf9El060174@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Mon Dec  5 11:41:09 2016
New Revision: 309550
URL: https://svnweb.freebsd.org/changeset/base/309550

Log:
  Rename fast taskqueues used by DMAR to avoid naming conflict of the
  sleepable and spin mutexes created by the queues.
  
  Reported and tested by:	hps
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/x86/iommu/intel_fault.c
  head/sys/x86/iommu/intel_qi.c

Modified: head/sys/x86/iommu/intel_fault.c
==============================================================================
--- head/sys/x86/iommu/intel_fault.c	Mon Dec  5 11:40:54 2016	(r309549)
+++ head/sys/x86/iommu/intel_fault.c	Mon Dec  5 11:41:09 2016	(r309550)
@@ -271,7 +271,7 @@ dmar_init_fault_log(struct dmar_unit *un
 	    M_DEVBUF, M_WAITOK | M_ZERO);
 
 	TASK_INIT(&unit->fault_task, 0, dmar_fault_task, unit);
-	unit->fault_taskqueue = taskqueue_create_fast("dmar", M_WAITOK,
+	unit->fault_taskqueue = taskqueue_create_fast("dmarff", M_WAITOK,
 	    taskqueue_thread_enqueue, &unit->fault_taskqueue);
 	taskqueue_start_threads(&unit->fault_taskqueue, 1, PI_AV,
 	    "dmar%d fault taskq", unit->unit);

Modified: head/sys/x86/iommu/intel_qi.c
==============================================================================
--- head/sys/x86/iommu/intel_qi.c	Mon Dec  5 11:40:54 2016	(r309549)
+++ head/sys/x86/iommu/intel_qi.c	Mon Dec  5 11:41:09 2016	(r309550)
@@ -378,7 +378,7 @@ dmar_init_qi(struct dmar_unit *unit)
 
 	TAILQ_INIT(&unit->tlb_flush_entries);
 	TASK_INIT(&unit->qi_task, 0, dmar_qi_task, unit);
-	unit->qi_taskqueue = taskqueue_create_fast("dmar", M_WAITOK,
+	unit->qi_taskqueue = taskqueue_create_fast("dmarqf", M_WAITOK,
 	    taskqueue_thread_enqueue, &unit->qi_taskqueue);
 	taskqueue_start_threads(&unit->qi_taskqueue, 1, PI_AV,
 	    "dmar%d qi taskq", unit->unit);



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