From nobody Thu Oct 08 12:21:44 2026 X-Original-To: dev-commits-src-branches@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 4j0pyK2NRMz6vZHN for ; Thu, 08 Oct 2026 12:21:45 +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 4j0pyK0dnZz4MWF for ; Thu, 08 Oct 2026 12:21:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791462105; 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=7RIUJ9HHu/uzMM9mlIT8C/ShTXHZlUKUTZazup9c4U8=; b=snHByxUFe+LP6OXovuCnTelDmARtcuSeSWJ1KeQiKWl0UqnOAziz2SlODpXzqWJdeupVsi oO4ya3vMQP7VS8vXprXvJZrW4DR8/k0B1JGM2JK+IwyIaEEscxeom0EEgObVt3W8ot0Agw MXbVoOpK8Aj3/Dhgd7D28IXJuO3bc/FC01fqZy1OUSwYWAO35PBfVbz8FIvUkD3XaIIMDC JAWv0QoBYgLhobxnoIRAxrw+CubA5uvSf9vQsbCzFQi69Qu3j+Nfm8n4+9QShYu3fI5SUt yctvM5Tja7rvWZqkkMe1pKRGIspn0TpzZN3oQVV5l4kei1TKbiW4DI0k97eI/g== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791462105; b=epp/hHoR8EZJG011aorbjSjJwxSqWS18k+uGI7WWCTPybgO8LrKxODOS6j2Hq5mgebqltB wQCtjzhScRrf72ACIUhOq8ytdrvg5r9UoQ17sES4L7pBgPdo4/vrfVtvH/2+qATQVQB7rR 4gbxiNgZqBerl58vFlMQmsAXXtMwxW2VojFysMwibgz5a886VOVNoIXQRP8gabv4/8W20e qweW5r6VPtX/RRXU3u6PrG60rZPdL5Z85BroWMPjp9QYwaeNn1mcuTGF7TWV6i0Za+kSsM Oj6OBSWbxRBm6zMf+rZdhlg09KDhZUWs3n14xSlbrEUgI1uKuW2kPpozY9xKcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791462105; 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=7RIUJ9HHu/uzMM9mlIT8C/ShTXHZlUKUTZazup9c4U8=; b=jJvw8U2+quj+bJp/0FNa+q/9g9uIp87uK+JobbYuRcCMa1RFpLMXKTgYJKC9vrCJzSpr/k 5pyTWuBBHsWm3ln7EVQlAnuZDAdTaAx7EgWPi/T8fHJ985wStBTRio6E3NpwfDFNBp4ZP0 gsJjtA3dS/bgtNqbX5FYBWB5vrvRqJPmSm0xn5uP8XQz72keTCSgpsCFuywkAxUyAMebOP Bz3Hc3qsNPS+U3iBIGyWIoKJyrAbN/txqORhUn/3UOV9wRGkJLB6rg+DqWHoNMfALs8WY8 m965ZKlAWcYn4Nur8ybo4jvakYL0Ibl+6yODPTB79hsJ50+eaFc1mpU4YK9KYA== 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 4j0pyJ6p0QzgWd for ; Thu, 08 Oct 2026 12:21:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1c7fd by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 08 Oct 2026 12:21:44 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: 892cd949801d - stable/15 - NOTES: SMP: Move PREEMPTION out of the debugging options section List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/15 X-Git-Reftype: branch X-Git-Commit: 892cd949801d572a21bcfeae224043a74f50b861 Auto-Submitted: auto-generated Date: Thu, 08 Oct 2026 12:21:44 +0000 Message-Id: <6ac78ad8.1c7fd.1e4779f4@gitrepo.freebsd.org> The branch stable/15 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=892cd949801d572a21bcfeae224043a74f50b861 commit 892cd949801d572a21bcfeae224043a74f50b861 Author: Olivier Certner AuthorDate: 2026-09-24 16:00:32 +0000 Commit: Olivier Certner CommitDate: 2026-10-08 12:20:07 +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 (cherry picked from commit 61ce73643f22f6f8273701eb978faa246bbca27d) --- sys/conf/NOTES | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/conf/NOTES b/sys/conf/NOTES index b6e6af1e8827..040df12b3408 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