From nobody Fri Sep 25 15:39:57 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 4hrvz16j7Wz6tYnj for ; Fri, 25 Sep 2026 15:39:57 +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 4hrvz14D1Dz4FpP for ; Fri, 25 Sep 2026 15:39:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790350797; 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=HsioMJB5Q4UzKEBWkpTWkZbptMX/q+/UQig1UTgx91w=; b=o4jDNSd4SznNt4pGCPqiN/vMGZCq/U9asLkXz/re1YgOCF0EXat4M7ul52Y7xfFs8+cUJ9 LPK1d70KRrlfw/7bpCnTCj87mYvddB6RB6FW8IbBu0L987a6CgFv13VVRVB0S95D0ft43h ZYrqg/61mysz3yRyvlibu0xPFCuyZ3fGVn92iC4RgexiUzka9z7+ObzRBBXU8pWkWM90UF b2EosyqEIqvZD+sZrnTBA7g1uqKPalMfOAN9wfyfhYeI7aocwx184k8LtfZF36M/vMOQJp qqZtZs4IdvkBupGkx89WNPlTjtThzXirJMWoaMizc/uWZBVTGuP0hyxGoKWRxQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1790350797; b=Rs5GwVODQkQM+XcDzZSM3ibO53MXXXcPrRtjAs/eaNloWEZ7lK4Psb6Tx3VqA/tgo8y2Yh Novf1oZZx+hJPzsynud9INH22oe0Lw4+nNqg2c8gKofwo4uNbCRgXIi1SRYnV8JdhOs3i2 xz8IbyVQncefaI6mq9+vhmB5SCtdAcypAcX+JLr94AsRqPrNTUasVlV5z2431UV+uHfEh2 ACskZZaf5mnz+8TXtRtJIbxI5/vo3aNvtSXMt49d8BN/FysAwuh/ByH2mCUD4PNBNcwOV5 XSKwI9GHcH3NYgibJz/dBK2/h2kJbvLe11ujH2K8ANiKEtXVFT9DVWDmIBo0Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790350797; 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=HsioMJB5Q4UzKEBWkpTWkZbptMX/q+/UQig1UTgx91w=; b=MXfvaKmmKw8AsAKs6ltbIrVy1W+lSCAN+L4zU0LqITV0o2RZZMhdsxrfWsB0XJGjU6lJvq tSL1K0rsOwb12Em6Kdhbz0GLR3m4TEjpVSIBjoG+8DqDdTyQ8F9VTqAcu2kwGqItyVs9dn B0qqM4Uzg4wHwnTMTU5sH2rNPzOs45RRzvD/FJj/C5OfPmswr6cmWvsYvBs54H+W80MN9q ZNcV+CRNvEbuTfQOcApB/yq47QAeJmdbnr4yADhWd9uvhM0Sfu78jUpa8I6MzOQzZAoobq MvVUnDnruPfZdpiHGzwQlYl1ZBfptzPIu0upp0Tvur3PvMqah8++O2ZpjmOD5Q== 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 4hrvz13CC1zGBF for ; Fri, 25 Sep 2026 15:39:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 4392a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 25 Sep 2026 15:39:57 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: d972d832f580 - main - NOTES: IPI_PREEMPTION: Fix documentation, applies to all architectures 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: d972d832f580c307cdfd87d563a382f40877dd10 Auto-Submitted: auto-generated Date: Fri, 25 Sep 2026 15:39:57 +0000 Message-Id: <6ab695cd.4392a.1e08f5a0@gitrepo.freebsd.org> The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=d972d832f580c307cdfd87d563a382f40877dd10 commit d972d832f580c307cdfd87d563a382f40877dd10 Author: Olivier Certner AuthorDate: 2026-09-24 16:04:35 +0000 Commit: Olivier Certner CommitDate: 2026-09-25 15:21:50 +0000 NOTES: IPI_PREEMPTION: Fix documentation, applies to all architectures Move its description into 'sys/conf/NOTES' and update it to match reality. Reviewed by: scheduler (mchoo) MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60013 --- sys/conf/NOTES | 6 ++++++ sys/x86/conf/NOTES | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/sys/conf/NOTES b/sys/conf/NOTES index a4d60b709a6b..656dee2bb262 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -282,6 +282,12 @@ options SX_NOINLINE # and allows interrupt threads to run sooner rather than waiting. options PREEMPTION +# IPI_PREEMPTION instructs the 4BSD scheduler to immediately preempt a thread +# running on a specific CPU when a thread pinned there has higher priority, +# instead of waiting for a return to userland. It has no effect on other +# schedulers (e.g., ULE). +options IPI_PREEMPTION + # SMP Debugging Options: # # CALLOUT_PROFILING enables rudimentary profiling of the callwheel data diff --git a/sys/x86/conf/NOTES b/sys/x86/conf/NOTES index 0fcbac876c79..3507bbbe8774 100644 --- a/sys/x86/conf/NOTES +++ b/sys/x86/conf/NOTES @@ -28,13 +28,6 @@ ##################################################################### # SMP OPTIONS: # -# Notes: -# -# IPI_PREEMPTION instructs the kernel to preempt threads running on other -# CPUS if needed. Relies on the PREEMPTION option - -# Optional: -options IPI_PREEMPTION # Debugging options. #