git: d972d832f580 - main - NOTES: IPI_PREEMPTION: Fix documentation, applies to all architectures

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Fri, 25 Sep 2026 15:39:57 UTC
The branch main has been updated by olce:

URL: https://cgit.FreeBSD.org/src/commit/?id=d972d832f580c307cdfd87d563a382f40877dd10

commit d972d832f580c307cdfd87d563a382f40877dd10
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-09-24 16:04:35 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
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.
 #