Re: [RFC PATCH] sysfs: Add /sys/kernel/realtime entry

Florian Bezdeka <[email protected]> Fri, 10 Jul 2026 18:01:20 +0200
Newsgroups org.kernel.vger.linux-rt-users,dev.linux.lists.driver-core,dev.linux.lists.linux-rt-devel
Message-ID <[email protected]>
On Fri, 2026-07-10 at 11:51 -0400, Steven Rostedt wrote:
> On Fri, 10 Jul 2026 09:23:16 +0200
> Florian Bezdeka <[email protected]> wrote:
>=20
> > uname might qualify, yes, but keep in mind that this sysfs based API is
> > already used, so a removal might break applications. Yes, userspace can
> > be fixed / adjusted, but it remains bad style, no?
>=20
> Then at most it will likely just stay in the -rt patch set. As it was nev=
er
> mainlined, it's not breaking any user space that uses only the mainline
> kernel.
>=20

Depends on what you consider a valid update scenario. Updating from 6.1-
rt with sysfs available to something like 6.18 (no sysfs anymore) will
still break - as long as you do not (force) update userspace in
lockstep.

I learned meanwhile that our detection moved to uname meanwhile, so this
is not a problem for us anymore.

Florian