The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0bd73da2062eb5139db67e14ea037a8bd634cb8f

commit 0bd73da2062eb5139db67e14ea037a8bd634cb8f
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-06-30 17:06:04 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-06-30 17:06:04 +0000

    busdma_bounce: Use PRI_ITHD scheduling class for worker thread.
    
    Reviewed by:    kib
    Sponsored by:   Netflix
    Differential Revision:  https://reviews.freebsd.org/D35641
---
 sys/kern/subr_busdma_bounce.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/kern/subr_busdma_bounce.c b/sys/kern/subr_busdma_bounce.c
index f3699cf2ad27..81a8f1046485 100644
--- a/sys/kern/subr_busdma_bounce.c
+++ b/sys/kern/subr_busdma_bounce.c
@@ -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 (;;) {

Reply via email to