From nobody Fri Sep 25 15:39:56 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 4hrvz04Z7cz6tYXT for ; Fri, 25 Sep 2026 15:39:56 +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 4hrvz03bfdz4FlZ for ; Fri, 25 Sep 2026 15:39:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790350796; 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=AG8bh+54SRiXxTJTZ6PYsNn8/VHf1M9/VA3Q1WSLQjA=; b=MUAELdFHRXbErzYPo1pb6EJ30IMBZ97WNg+C2G/Eye7QqUnS5QUtH0M1tubbboMF8aWt+s 7oa2XAD1oyp0KO2WKN20QUDi3pH6UpBxFk4B6F62SFEelxbyTtE/zD8LBu0as7+zK25z1t 6sPvIkg5kislz8G8V9vmZ+Om/AeVyqRkZhD7GmsDS4cJUGVFnEI0KeFks9kxTzZZrO0fu2 Q8HFhksfmuDu6/+vjOU9XhtiXcizz0aZ2UgV5e6vhJf8eXqyytIHtfKGrco1myKBvr8uhJ aMabmV+GrgtUV96EsHTuuSjG7WPihlop1m3BgLnXMmJITLpRSuDuk+urkKdVRw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1790350796; b=xiOWgcxyzm18Wbctrz6C/UzDZPDg/PHmiLOUsAsxkiA3GtFx44OtiRfbfJVdIm3mHd6yvC mkqcITqE9MYdUPRVN3t2zM7jRud+lKBPzS/DjiixZTMLLDDKf8p19/yVlg3T6ouRi9jJMi Hi+ZXCUcGhmZwTh+QyPwjc6SfbGUyMm6guogkt3yIWdgu6E+xbPA54AYUXvQ9OUh10B8tr 7BG+12lInnghDYgHB4YHJkAcFIFG588weRP0fj7cMSiDN5uLbL88BsT5QU8AgUoooiE2qy mamdlZrnyzt0v4SrX08mCsmapUUI5d5HqU3aGWDWDAYIVazHuXpbFNn68DoKQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790350796; 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=AG8bh+54SRiXxTJTZ6PYsNn8/VHf1M9/VA3Q1WSLQjA=; b=Nh+hfDwI1/RUnx+gufm5UdIg/B6ZeFdpW+vB8O9T0Pjkt0ZOPca9dE9XzxKZ0+PZjA+rHR KK2w8T74UaTesukl9DQgc1Yq1z92vK/7a/KYHyJPXE2ihnvib2XVlifmtYFnQ0vQUoSRLd y0Wf+saBC/FU5MZmSwbTIGoYDd+tpy5Jd4fpQ/CTX2SVXD7OLDTykjJA2peI/9KTiqXPO2 I5SjACnUQB37NBVAXe04cK5yTUumeShS6VsyHxg+klIrQ8CVosJWpFqdk+oNp4bF6xldei ZjZshlYB1LMLn61bbd+Z7ybIAPYYIEI/C8CX/E4JYRyA2W7mosmGo0Cxjo1dxQ== 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 4hrvz02h3WzGLT for ; Fri, 25 Sep 2026 15:39:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 43dc3 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 25 Sep 2026 15:39:56 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: 61ce73643f22 - main - NOTES: SMP: Move PREEMPTION out of the debugging options section 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: olce X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 61ce73643f22f6f8273701eb978faa246bbca27d Auto-Submitted: auto-generated Date: Fri, 25 Sep 2026 15:39:56 +0000 Message-Id: <6ab695cc.43dc3.5b137755@gitrepo.freebsd.org> The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=61ce73643f22f6f8273701eb978faa246bbca27d commit 61ce73643f22f6f8273701eb978faa246bbca27d Author: Olivier Certner AuthorDate: 2026-09-24 16:00:32 +0000 Commit: Olivier Certner CommitDate: 2026-09-25 15:21:49 +0000 NOTES: SMP: Move PREEMPTION out of the debugging options section It has been activated by default for more than 20 years. Reviewed by: mchoo, srcmgr (imp) Fixes: 444ba945136b ("Switch the default scheduler to 4BSD...") MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60012 --- sys/conf/NOTES | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/conf/NOTES b/sys/conf/NOTES index c9075d89c8ed..a4d60b709a6b 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -277,13 +277,15 @@ options RWLOCK_NOINLINE # and WITNESS options. options SX_NOINLINE +# PREEMPTION allows the threads that are in the kernel to be preempted by +# higher priority [interrupt] threads. It helps with interactivity +# and allows interrupt threads to run sooner rather than waiting. +options PREEMPTION + # SMP Debugging Options: # # CALLOUT_PROFILING enables rudimentary profiling of the callwheel data # structure used as backend in callout(9). -# PREEMPTION allows the threads that are in the kernel to be preempted by -# higher priority [interrupt] threads. It helps with interactivity -# and allows interrupt threads to run sooner rather than waiting. # FULL_PREEMPTION instructs the kernel to preempt non-realtime kernel # threads. Its sole use is to expose race conditions and other # bugs during development. Enabling this option will reduce @@ -303,7 +305,6 @@ options SX_NOINLINE # a lock hierarchy violation occurs or if locks are held when going to # sleep. # WITNESS_SKIPSPIN disables the witness checks on spin mutexes. -options PREEMPTION options FULL_PREEMPTION options WITNESS options WITNESS_KDB