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
This commit is contained in:
parent
7abeae41fb
commit
85d99487b8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309550
@ -271,7 +271,7 @@ dmar_init_fault_log(struct dmar_unit *unit)
|
||||
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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user