PREEMPT_RT patch set. The RT kernel is targeted at kernel-space processes
that require deterministic scheduling. User-space applications cannot achieve
RT behavior by using the RT kernel alone; they must also be written with RT
scheduling policies (SCHED_FIFO / SCHED_RR) and pinned to isolated CPU
cores.
How PREEMPT_RT changes the kernel
The standard Linux kernel (CONFIG_PREEMPT or CONFIG_PREEMPT_VOLUNTARY)
allows certain critical sections to run non-preemptibly, causing unbounded
scheduling latency spikes. PREEMPT_RT eliminates this by:
The result is a kernel where nearly every code path can be preempted by a
higher-priority RT task, giving deterministic worst-case latencies in the
microsecond range on tuned Qualcomm hardware.
For the authoritative upstream documentation, see
Linux kernel realtime.
Required Kconfig options
The Qualcomm Linuxmeta-qcom layer enables CONFIG_PREEMPT_RT by default
through the rt.config configuration fragment included in the
linux-qcom-rt_6.18.bb recipe. The following table describes the key Kconfig
options and their role:
Table: RT kernel Kconfig options
Verify that these options are active on a running RT system:
RT vs standard kernel trade-offs
Choosing the RT kernel involves accepting specific trade-offs:The RT kernel is supported on all Qualcomm Linux hardware platforms
(QCS6490, IQ-9075, IQ-8275, IQ-615). Latency numbers depend on the
specific SoC, CPU topology, and tuning applied. Always measure on target
hardware and do not rely solely on simulation results.

