From nobody Fri Oct 02 15:50:00 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 4hxCsN48lvz6vc01 for ; Fri, 02 Oct 2026 15:50:00 +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 4hxCsN1VVCz4hMB for ; Fri, 02 Oct 2026 15:50:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790956200; 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=bQQgkIW7mGZtcwYdcGk6Q1umo54kHayWs6R7gKiShdQ=; b=sQJPA4iSFVaBRRpSaWdfhKIwPrdpbF3RIBHqu7pbhJZ37vydJ2Lp0uwQ79aCn7vrajrq48 AMsnty6kbJiyFY7mx2fk+15H79aV+c4jKg5kXJFaD7wpIC82ddymhzzPGwJBdeipuIGTtX opV5ybmIock+ss8WLSOEnylc3uvmWLD+Y4eGyRRE74Gh8Kp9UuRM3/sw9ocCP5C6nYN68p /oJfBBY/MHWTAAv1OzzlaK58EQHPoaSNw9g5GJuAUIjRRr+SFD+Tp/WgzeVh8L+jFIxaGV LsvBBuGKY9Tlqybl/YHX4RtFz8HL04IJFFBQlmtyTU7G1RFohfr7HxfCQnXy1A== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1790956200; b=yzEdqhrqhks/mDVpUprEjgYDT/7ajvHle0EMiJ/LTr5Z26yuxaw2oMPH3JL3KRdCum6MAQ dvHFhwbJQwmHRxS+vUVVi17brw5IAvfSXxac8pE42x6/qoRWE02CF+gRIW/0U7dxYZEVZA ec/oAHfNy95r+9T9juUlb3GEqioaZ2m42pRsDC5qXrgXF02RqoAk8vPZ8bZHxPGw6fAV2s gCSoDgICKc0SVbPmah+PyL8KanKXGL4M1vKzfD0+rzI6t0pp6l9MSBnCM195uxOjhaMC87 ua71iuM0hFBM7BPtDCFh+h1W1FaE6UMeqIUXBIk08qx9DBtvZlb94q4iXgCxKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790956200; 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=bQQgkIW7mGZtcwYdcGk6Q1umo54kHayWs6R7gKiShdQ=; b=w44nGjjh6Nf9PqQ/WNFtSCHEbuwkP6ULQ70VALoYR7vPkhGLPlYRqV36VHKfE4EiwZLes6 vn2ApUEDJb30tEUW7EEU1W1RcO/q2GmNW4o0zsfJPXFno8FXBA61o6TLWLWSJg9NQDTuZ6 TbcI1uDZnE9L8Ub4UdOH01HKJS12VMOoOYxiC7H0frEM7I//W6sP1MmZAR6PBungDGw8DY q6mAz2lujdr8So/0IjlDrScO9IhpaludMOoytsYwG+XUHrDHXZ0lVTKyzbz17EJXp5Lxl2 zZKZ6IeaLX9VmeMCye8AbsiB6X4LwHdrWJeqBMLGASAdu1uF03us0xEuZbHAOg== 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 4hxCsN0C6TzNjs for ; Fri, 02 Oct 2026 15:50:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3fdd7 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 02 Oct 2026 15:50:00 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Minsoo Choo Subject: git: efd9712ed3a1 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: efd9712ed3a1e9ce27d5adc3490e497aecf7f478 Auto-Submitted: auto-generated Date: Fri, 02 Oct 2026 15:50:00 +0000 Message-Id: <6abfd2a8.3fdd7.77aabc66@gitrepo.freebsd.org> The branch stable/14 has been updated by mchoo: URL: https://cgit.FreeBSD.org/src/commit/?id=efd9712ed3a1e9ce27d5adc3490e497aecf7f478 commit efd9712ed3a1e9ce27d5adc3490e497aecf7f478 Author: Minsoo Choo AuthorDate: 2026-08-24 02:25:36 +0000 Commit: Minsoo Choo CommitDate: 2026-10-02 15:44:53 +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 6c204d62b213..a54e96967ec5 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -354,7 +354,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. *