svn commit: r309550 - head/sys/x86/iommu

Konstantin Belousov kib at FreeBSD.org
Mon Dec 5 11:41:11 UTC 2016


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);


More information about the svn-src-head mailing list