public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
* /sys/kernel/realtime in mainline
@ 2025-01-15 15:24 Alexander Werner
  2025-01-29  9:39 ` Sebastian Andrzej Siewior
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Werner @ 2025-01-15 15:24 UTC (permalink / raw)
  To: linux-rt-users

Hello,

this is about testing if a kernel has been compiled with PREEMPT_RT.
Previously, the PREEMPT_RT patch created a file /sys/kernel/realtime to
enable user space tools to detect this. However, this patch has not
been merged (yet?). The commit which creates this file is
	3e7545de923c4e8184c2be0b95341fdc7ef1c193 as pointed out in thread [1]
on the LinuxCNC forum. Many applications in the robotics space also use
the existence of this file to check for PREEMPT_RT such as [2],[3].

My question is if this will be merged later on or the user space will
have to accomodate this change.


Cheers,

Alex



[1]
https://forum.linuxcnc.org/38-general-linuxcnc-questions/54542-real-time-kerel-not-detected-on-patched-6-12?start=10
[2]https://github.com/ros-controls/realtime_tools/blob/5b85370c75371a5748b790101802910e53bb12f0/src/realtime_helpers.cpp#L48
[3]
https://github.com/frankaemika/libfranka/blob/fd2951bc76e61d32d835241c40c26562148cd457/src/control_tools.cpp#L29

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-29  9:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-15 15:24 /sys/kernel/realtime in mainline Alexander Werner
2025-01-29  9:39 ` Sebastian Andrzej Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox