Date: Thu, 30 Jun 2022 17:06:36 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 0bd73da2062e - main - busdma_bounce: Use PRI_ITHD scheduling class for worker thread. Message-ID: <202206301706.25UH6asG083589@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=0bd73da2062eb5139db67e14ea037a8bd634cb8f commit 0bd73da2062eb5139db67e14ea037a8bd634cb8f Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-06-30 17:06:04 +0000 Commit: John Baldwin <jhb@FreeBSD.org> 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 (;;) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206301706.25UH6asG083589>