busdma_bounce: Use PRI_ITHD scheduling class for worker thread.

Reviewed by:	kib
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D35641
This commit is contained in:
John Baldwin 2022-06-30 10:06:04 -07:00
parent d95657a1a7
commit 0bd73da206

View File

@ -438,6 +438,7 @@ busdma_thread(void *dummy __unused)
struct bus_dmamap *map, *nmap;
thread_lock(curthread);
sched_class(curthread, PRI_ITHD);
sched_prio(curthread, PI_SWI(SWI_BUSDMA));
thread_unlock(curthread);
for (;;) {