Re: /sys/kernel/realtime in mainline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2025-01-15 10:24:41 [-0500], Alexander Werner wrote:
> Hello,

Hi,

> 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.

I was not sure if we do need this or if this information can be obtained
by some other means. For instance uname provides this information. We
don't provide the PREEMPT vs PREEMPT_DYNAMIC information. With
PREEMPT_RT we can do LAZY or PREEMPT here.

If the robotics space relies on this information I would bring this to
the scheduling people for their opinion.

> Cheers,
> 
> Alex

Sebastian




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux