Re: [RFC PATCH] sysfs: Add /sys/kernel/realtime entry
Steven Rostedt <[email protected]> Thu, 9 Jul 2026 11:54:27 -0400
| Newsgroups | org.kernel.vger.linux-rt-users,dev.linux.lists.driver-core,dev.linux.lists.linux-rt-devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 9 Jul 2026 16:46:19 +0200 Greg Kroah-Hartman <[email protected]> wrote: > At the very least, it's not ok as it's not documented in > Documentation/ABI/ :) > > But really, why is this needed? Userspace shouldn't care, right? User space most definitely does care if it's running on a real-time kernel or not. Otherwise it may not be able to make its deadlines. But I believe a more appropriate way is via uname, which I believe it already does what we want: $ uname -a Linux bxtest 7.2.0-rc2-test+ #16 SMP PREEMPT_RT Thu Jul 9 11:50:36 EDT 2026 x86_64 GNU/Linux -- Steve