From nobody Thu Jun 30 17:06:36 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 41EC28AD14E; Thu, 30 Jun 2022 17:06:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LYl9S4Vlrz3sxS; Thu, 30 Jun 2022 17:06:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656608796; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yrh7h95xceLq4zVvxj8jkDoSvLRN8bm9WcY2q1j/GTc=; b=gCmbx82hVzG2Qh1M1g4vyKC7sK1xmlmRu52Mez6wxpgHCTEQyvWUqT7bHJlOeYZEfV0MuC uRxlWUPpPeCxzAeXtsCcg+jQ/aryMznvEo7fs6/cQ+nebUET1x17b42I28omMKAHANr1Uk cYvFNb2wh+ZLhslZmi8PQjuoX1z6oS+CpqofFhhPkoU44TIA1gtY1dAMBv9wDsna6iu0LI rjEhIJSxo09QNPL4U+nSMPkqWFY1u67eH+GymX+Mfeu9NJ3iWYGfbfJfKCHvNwR/yOu9rz sqcAzvn0CUGCXHphO4yrIL3jYfBY2sqfeZrifiabF0bHr6gdIAPNDKomo4q7zg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 370872322; Thu, 30 Jun 2022 17:06:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25UH6aop083590; Thu, 30 Jun 2022 17:06:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25UH6asG083589; Thu, 30 Jun 2022 17:06:36 GMT (envelope-from git) Date: Thu, 30 Jun 2022 17:06:36 GMT Message-Id: <202206301706.25UH6asG083589@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 0bd73da2062e - main - busdma_bounce: Use PRI_ITHD scheduling class for worker thread. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0bd73da2062eb5139db67e14ea037a8bd634cb8f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656608796; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yrh7h95xceLq4zVvxj8jkDoSvLRN8bm9WcY2q1j/GTc=; b=KhlCulIPlLecbpmfGZTSahVqmnNPi5AzwTvJLZqaZ3t5OxX6upaTG0gJsjs6zrSAi4RcwI oy0ZN3mdPWJ6Xh5oIGOVr8EzJdLafHzidpSu11ko47RLwoHLQZ3dDDTrOJj6v4unubORZ0 xTH7yk6eJyKllVElq4XPgVwz4Qutvrw9y4renetZmwB4e87yxHM88FIa8KiQbb1uQZkUH5 A0GzJDZ4QM6F6OG4mPBej6BnywXU69LkQI4E8ZkdT1azggP++UqDNr00ZkcdatyiCRB/CB MHrhJJG2JMoGYXnpm5Azz4NiRkZnY3ewIS5df28Tw0PtEHNOeNET3EbeUQ1Cew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656608796; a=rsa-sha256; cv=none; b=TWsXer7d3x2Rfws1qLysWx1HF8OL8O8r2pBA7HQ0Df+rgkbuFSkmjeCcoG5u4VEU3flTfx BJ/9lOHv3QjLMdydg2SZbp1hvHWpKTCprjOtFCrzy5I80EqCAnQwba0FpY7dGIEI3J3G2q PX1Aa2EVsVU52ZPffCJp8tUlqyRHO8Raakh4jgsgBtN1JYC0Z8RXqcO2szglk6Ibra8jM+ 0iLx/Y1iLszyhBuq5bUhD61HLHJl+yvgvGK1RqemZfTBkUigfwjj7cUhwvE8jOeHap8r6B X34/vp8u15NNyYbD9OW4wmWdA+rNauaoDT1BxD2ZekzP0Psnqhs0nmyAkJhJ6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=0bd73da2062eb5139db67e14ea037a8bd634cb8f commit 0bd73da2062eb5139db67e14ea037a8bd634cb8f Author: John Baldwin AuthorDate: 2022-06-30 17:06:04 +0000 Commit: John Baldwin 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 (;;) {