From nobody Fri Oct 02 15:35:06 2026 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 4hxCXC3Lwpz6vb6J for ; Fri, 02 Oct 2026 15:35:07 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hxCXB4nKKz4Yml for ; Fri, 02 Oct 2026 15:35:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790955306; 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=corLPJOcg1+h/26UUWzvbOSCwba40F1D4y2+QMOfIe4=; b=wEBr5k9V4aMdXKRgn3jFnITGFDQ0/tb7VdNzn2FHH0evBNqlSINo39xxwlkXOR7LZNJBMA ex64MFVuhEAMTfrEZmcF1MbllEt/EKIplQu2dbj2PlyuIAnC0hzzUBgVoSboEBOO0poxI1 csdeWJ3XKHxvhOTW1D4/vMBWjyAUgSRow0u6rZg+TIyPbqxhLqFHPQy77IM2h7Pkf7NA9I SpW5bLp6oR3grjy/J3FF+rdFZxz/bCvX3EVb0V8tg1o24G2cqU6c19QKY622r4F/D/fAPD dU6Uro4Dc9msXA459CI00X262Jo73RIWf7X2pda4vQP0pmbPGX0Lv8K47ixkLA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1790955306; b=TbvCNmS6LaYgjF8lCNZxN0My3SPBLp5U9J03SMIgerjJdoULOC9Wgi79aVFhig4StO0HiO m1aKkU4tC9EDsmPBJdBX91Xq91D5Inh9HzFP72EyKmJicUzJKX7AvV3+JAhCt3796AylQG fFmYNxcQOePvv+pMtH2P+e+50TxCP2kqR76OBOoCCldrELRUYWV+jSXUmzcP3hACZvbsuC x+NDwJGAUD2rvIRqrtqWEq8nsZ9R/QjotolR1jwzk6dNntw332C72U9Nw/9SpzFYmzhgYX B5WZGGuOZHVXFvgBWaHt+S7I6MAmimCC4dPPg2IF7iszAkevYaned7muAuTuzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790955306; 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=corLPJOcg1+h/26UUWzvbOSCwba40F1D4y2+QMOfIe4=; b=gYgPOmNfwweLTzbecGppW3E9gFr10bPcaHHI0JD9S54zIVW0uZWYemJ/GTWdVMnqlcsYrQ 0RpY3e+UobJREvmVlO/fyaCxsakx2rTY9/vuQrC4g5FNQSPo3T7VYRYg5iXodYnNvwvlp/ jOMUopuZroLlp9mOb/9f34D3dubikLfA3AF5Re/J7ozPLEeQFSRRaV31mm0/Oq3O62oVUT e5Wy2O5459hI+k5zb7CIrJdoISvuYTdZtsF4Rs5MC1BerBoFAIIdSKvjheKvnoi6hMljkD rmJMZq/Dqg35cNVd5aFQqQgG6zr0qSkNYqa74avs5j+uDWf2mIk0KglkrUxhtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hxCXB3pC3zNfy for ; Fri, 02 Oct 2026 15:35:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3fb1b by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 02 Oct 2026 15:35:06 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Minsoo Choo Subject: git: 48cef9960769 - stable/15 - sched_4bsd: fix comment in maybe_preempt() 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mchoo X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 48cef99607698b98d49722d62bb257ee575a6fab Auto-Submitted: auto-generated Date: Fri, 02 Oct 2026 15:35:06 +0000 Message-Id: <6abfcf2a.3fb1b.21feba5f@gitrepo.freebsd.org> The branch stable/15 has been updated by mchoo: URL: https://cgit.FreeBSD.org/src/commit/?id=48cef99607698b98d49722d62bb257ee575a6fab commit 48cef99607698b98d49722d62bb257ee575a6fab Author: Minsoo Choo AuthorDate: 2026-08-24 02:25:36 +0000 Commit: Minsoo Choo CommitDate: 2026-10-02 15:34:31 +0000 sched_4bsd: fix comment in maybe_preempt() The comment says the new thread's priority is not a realtime priority while the code states pri > PRI_MAX_ITHD which is interrupt priorities not realtime. Reviewed by: olce Approved by: olce (mentor) MFC after: 2 weeks Sponsored by: FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59402 (cherry picked from commit 351f6733180cebdc83585f9a00677f4998f6c6f1) --- sys/kern/sched_4bsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 4db2364785f6..a77099296463 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -345,7 +345,7 @@ maybe_preempt(struct thread *td) * out anyways, so there's no point in preempting. If we did, * the current thread would not be properly resumed as well, so * just avoid that whole landmine. - * - If the new thread's priority is not a realtime priority and + * - If the new thread's priority is not an interrupt priority and * the current thread's priority is not an idle priority and * FULL_PREEMPTION is disabled. *