From c7de4b51032d9434771142e9937c4c714a8cc318 Mon Sep 17 00:00:00 2001 From: Bryan Brattlof Date: Mon, 23 Nov 2026 12:15:03 -0600 Subject: [PATCH] fix(linux): drop reference to obsolete sysfs entry Going forward newer kernels will no longer have the /sys/kernel/realtime entry to inform userspace if the kernel has been configured to be deterministic[0] Replace the section with guidance about deciphering the `uname -a` command. [0] https://lore.kernel.org/all/20260709143108.UYeCUUcd@linutronix.de/ Signed-off-by: Bryan Brattlof --- .../Target/How_to_Tune_Real_Time_Linux.rst | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/source/linux/How_to_Guides/Target/How_to_Tune_Real_Time_Linux.rst b/source/linux/How_to_Guides/Target/How_to_Tune_Real_Time_Linux.rst index 05a0e9f83..50e2e28d0 100644 --- a/source/linux/How_to_Guides/Target/How_to_Tune_Real_Time_Linux.rst +++ b/source/linux/How_to_Guides/Target/How_to_Tune_Real_Time_Linux.rst @@ -38,22 +38,17 @@ this effort here: https://wiki.linuxfoundation.org/realtime/ Validating We Are Using A Real-Time Capable Kernel -------------------------------------------------- -Because of the length of time the real-time patchset has been working -its way into the mainline Linux kernel some of its features are already -in use with vanilla kernel builds. This can make it difficult to -determine if the kernel is fully real-time capable. - One easy way to determine if the kernel currently running is real-time -capable is by looking if the realtime file exists in our :file:`/sys` -directory +capable is by looking for :code:`PREEMPT_RT` or :code:`PREEMPT_DYNAMIC` +in the output of the :code:`uname -a` command. .. code:: console - cat /sys/kernel/realtime + uname -a -If the file is not found then the current kernel does not have all the -required features needed by the kernel to be fully preemptible and is -not suited for running a real-time application. +If the output contains only :code:`PREEMPT` the kernel does not have all +the required features needed by the kernel to be fully preemptible and +is not suited for running a real-time application. Testing Kernel Performance --------------------------