'Real Time Linux', which guarantees a response within a certain time, is officially incorporated into the kernel



Linus Torvalds, the creator of Linux, officially incorporated '

PREEMPT_RT ', known as Real Time Linux, into the Linux kernel on September 20, 2024.

Merge tag 'sched-rt-2024-09-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip - kernel/git/torvalds/linux.git - Linux kernel source tree
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=baeb9a7d8b60b021d907127509c44507539c15e5


Real-time Linux is officially part of the kernel after decades of debate | Ars Technica
https://arstechnica.com/gadgets/2024/09/real-time-linux-is-officially-part-of-the-kernel-after-decades-of-debate/



Real Time Linux is a mechanism that guarantees that Linux responds to events within a certain time when used in systems that are sensitive to time, such as industrial control systems, medical equipment, and aerospace equipment. PREEMPT_RT is a patch set that modifies the kernel to incorporate real-time capabilities into Linux, and was created in 2005.

In 2006, Torvalds stated that 'it's crazy to control a laser with Linux,' but that 'if you want to control an industrial welding laser with Linux, there's nothing wrong with using PREEMPT_RT.' PREEMPT_RT was not part of the Linux kernel, but it has been used in various fields for many years.

Therefore, even if PREEMPT_RT is officially incorporated into the Linux kernel, something will not change immediately, but by officially incorporating it into the kernel, the dependency of systems that use PREEMPT_RT will be reduced, making maintenance easier.



In addition, an example of building the Cyclictest utility has been posted on the Hacker News news site, where engineers gather, as a way to demonstrate the power of real-time performance in one shot. According to the post, when the interrupt latency of each CPU core was measured during the build, it was found that while normal Linux could reach double-digit milliseconds in the worst case, Real Time Linux could respond in single-digit microseconds in the worst case.

in Software, Posted by log1d_ts