diff options
| author | Olivier Certner <olce@FreeBSD.org> | 2026-09-24 16:04:35 +0000 |
|---|---|---|
| committer | Olivier Certner <olce@FreeBSD.org> | 2026-09-25 15:21:50 +0000 |
| commit | d972d832f580c307cdfd87d563a382f40877dd10 (patch) | |
| tree | 4228b25e49e352c8e85c5662e0adfe981dfc4136 | |
| parent | 61ce73643f22f6f8273701eb978faa246bbca27d (diff) | |
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
| -rw-r--r-- | sys/conf/NOTES | 6 | ||||
| -rw-r--r-- | 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. # |
