Sujet : Linux 6.12 New preemption model
De : vallor (at) *nospam* cultnix.org (vallor)
Groupes : comp.os.linux.miscDate : 22. Nov 2024, 06:29:39
Autres entêtes
Message-ID : <lqaj63F7fi9U1@mid.individual.net>
User-Agent : Pan/0.161 (Hmm2; be402cc9; Linux-6.12.0)
Thinking about trying out the new preemption model:
"make xconfig" screenshot:
https://imgur.com/OvlXmF5 From kernel/Kconfig.preempt:
config PREEMPT_RT
bool "Fully Preemptible Kernel (Real-Time)"
depends on EXPERT && ARCH_SUPPORTS_RT
select PREEMPTION
help
This option turns the kernel into a real-time kernel by replacing
various locking primitives (spinlocks, rwlocks, etc.) with
preemptible priority-inheritance aware variants, enforcing
interrupt threading and introducing mechanisms to break up long
non-preemptible sections. This makes the kernel, except for very
low level and critical code paths (entry code, scheduler, low
level interrupt handling) fully preemptible and brings most
execution contexts under scheduler control.
Select this if you are building a kernel for systems which
require real-time guarantees.
endchoice
_ _ _ _ _ _ _
I currently use the standard preemption:
Linux lm 6.12.0 #1 SMP PREEMPT_DYNAMIC Tue Nov 19 11:11:40 PST 2024
x86_64 x86_64 x86_64 GNU/Linux
Just decided in the name of Science(!), I gotta try this, and see
what it does to running graphical games, such as Elite Dangerous.
Wish me luck!
-- -v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti OS: Linux 6.12.0 Release: Mint 21.3 Mem: 258G "The Majority is never right unless it includes me."